Posted by Keith on 09/21/05 18:24
All:
I am having problems trying to run some php scripts in cgi. I have Apache 2.0+ and PHP 4.3. Perl works fine
with CGI and PHP works find as an Apache module. Whenever I attempt to run the php script through a URL with the
cgi-bin, it asks if I want to open or download the file. Cgi files execute fine though. Can anyone think of anything I
might be missing in any of the conf files?
Included is an example of one of my php scripts. Thank you for any advice.
#!/usr/bin/php -q
<?php phpinfo(); ?>
Navigation:
[Reply to this message]
|