Posted by David Haynes on 11/29/05 21:05
Ziggie wrote:
> I am not able to get PHP scripts to run on a Redhat linux server
> running Apache web server. Php is installed and as near as I can tell
> configured correctly. The Apache service has been restarted since
> installation, but whenever I try to run phpinfo() I get a neat little
> webpage showing me my php code.
>
> I'm not even sure where to start looking, let alone what I need to do
> to troubleshoot and fix this problem.
>
> Thanks in advance,
>
> Chad
>
Did you remember to change the httpd.conf file?
It needs the following entries:
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
LoadModule php5_module modules/libphp5.so
Naturally, you will need to restart apache after making these changes.
-david-
[Back to original message]
|