Web Hosting Talk







View Full Version : PHP not working!!


aweller
11-06-2002, 01:36 AM
Hi,

I have a RH linux 7.3 running with webmin. PHP was working fine before I installed Plesk demo. Now after I remove Plesk, PHP does not work.

I have many times removed PHP and even Apache and installed them again, but it still do not work.

Anyone can help me?? I'm no expert on system administration, so I hope there is a simple solution for it :)

Thanks in advance,

Ashley

StevenG
11-06-2002, 05:00 AM
Have you loaded the modules in httpd.conf

LoadModule php4_module libexec/libphp4.so (or Path to libphp4.so)
and
AddModule mod_php4.c

Also have you got these there too:

AddType application/x-httpd-php .php
AddType application/x-httpd-php .php4
AddType application/x-httpd-php .php3
etc, etc, etc

I can take a look if you are unsure and want a hand.
Get me on my AIM or PM if you like.