Click to See Complete Forum and Search --> : PHP does not work


dubing
03-03-2004, 06:14 PM
Greetings,

I've followed the instructions on Apache and PHP website to get both installed on a RedHat 9 box.

Starting httpd wrote the following message in the httpd's log file:

=======
[Wed Mar 3 15:50:26 2004] [notice] Apache/1.3.29 (Unix) PHP/4.3.4 configured -- resuming normal operations
=======

So it appears to me that Apache recognizes PHP fine.

'LoadModule' and 'AddType' have been added in the httpd.conf file as the PHP's installation instruction suggests.

However, a simple 'hello world' PHP file was either just displayed by the Apache server as it is or asking for download.

What in the world is missing? Any help would be appreciated.

Bing

yelvington
03-05-2004, 08:27 PM
Did you add the proper mime type for PHP in the server config file?

dubing
03-08-2004, 10:21 AM
I did. But I did not add it properly. A typo caused the problem. It has been fixed. Thanks for the heads-up.

Bing