Hi!
I have finally managed to install and set up Apache 2 server and PHP 4 on my Windows XP PC. Everything works fine, but I can't get CGI to work. I have installed Active Perl 5.8 in a "c:\perl" directory. I have found a manual how to set it up, and have followed it to the letter, but I can't run any CGI scripts in my browser. I have tries both *.cgi and *.pl extensions. The manual I have followed can be found on http://visca.com/...rl_apache_win9x.html I can run perl scripts in my command (DOS) window, so that means that perl is probably installed properly. When I try to open a webpage with the same code I get an 500 Internal Server Error. In the apache error logs the error is described as
[Wed Mar 12 17:45:53 2003] [error] [client 127.0.0.1] (OS 2)The system cannot find the file specified. : couldn't create child process: 720002: first.pl
[Wed Mar 12 17:45:53 2003] [error] [client 127.0.0.1] (OS 2)The system cannot find the file specified. : couldn't spawn child process: C:/localhost/cgi-bin/first.pl
Any help greatly appreciated,
Jerry
P.S. The apache config file should be attached (not sure how this works though :))
I have finally managed to install and set up Apache 2 server and PHP 4 on my Windows XP PC. Everything works fine, but I can't get CGI to work. I have installed Active Perl 5.8 in a "c:\perl" directory. I have found a manual how to set it up, and have followed it to the letter, but I can't run any CGI scripts in my browser. I have tries both *.cgi and *.pl extensions. The manual I have followed can be found on http://visca.com/...rl_apache_win9x.html I can run perl scripts in my command (DOS) window, so that means that perl is probably installed properly. When I try to open a webpage with the same code I get an 500 Internal Server Error. In the apache error logs the error is described as
[Wed Mar 12 17:45:53 2003] [error] [client 127.0.0.1] (OS 2)The system cannot find the file specified. : couldn't create child process: 720002: first.pl
[Wed Mar 12 17:45:53 2003] [error] [client 127.0.0.1] (OS 2)The system cannot find the file specified. : couldn't spawn child process: C:/localhost/cgi-bin/first.pl
Any help greatly appreciated,
Jerry
P.S. The apache config file should be attached (not sure how this works though :))