PHP Installation problem - httpd.conf issue?
| From: | Lee Philip Reilly | Date: | Mon, 04 Nov 2002 18:19:53 +0000 |
| Subject: | PHP Installation problem - httpd.conf issue? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-122684@lists.php.net to get a copy of this message | ||
Hi there,
I recently upgraded from PHP version 4.0-ish to 4.2.3 on my Linux/Apache
machine. AFAIK, Apache is setup correctly (it serves HTML) and PHP
works, but only from the command line. If I type "php -q php.php >
test.html" the output of phpinfo() is stored in test.html. When I try
and look at test.html running on localhost it display sfine, but when I
try and view php.php, as "save as" window pops up. I am not too familar
with Linux. If it was a Windows installation then I would make sure the
Action application (path to php.exe) line was correct, but I can't find
this in the Linux httpd.conf. Does this issue sound familar to anyone.
Could anyone point me in the right direction?
Thanks very much.
- Best regards,
Lee Reilly