Some months ago, or something, I posted some questions about how to install perl on xp. I didn't get apache up and running, but now I want to get all right because I have this script I need tested with perl and mySQL. Yes, I want to install mySQL too.
I uninstalled the whole package I had from before and downloaded activeperl, mySQL v. 4.0.14. I think.. I also downloaded apache from apache.org.
I installed everything. Of some reason perl installed itself on the D: drive, not sure how that happened, but it shouldn't be a problem. Should it?
Apache and mySQL were also placed on my D drive.
Tested http://localhost/ and http://213.239.127.118/ (my ip address..).
Got this nice congratulation message. Everything have worked fine...blablabla. And that this page must be replaced with real content.
I know I only can run .pl file and thats just fine. ( Have read:
http://www.gossamer-threads.com/...%20perl%20xp;#209011 )
I have this problem that if I try to run a perl script, say this test script: print "Hello cruel world!";
or something like that, I just get the message Cannot find page.
Where on my computer do I have to place the testing files? D:\perl\bin\file.pl?? I tried that, but it didn't work. Neither in the dir. below.
And how bout the she bang line:
#!/usr/bin/perl ? Can this be used.
Apache is running smoothly and I think I got the most up working. Anyone willing to help?
Thanks for all response. Sorry if I gave you little information.
- perlman