Click to See Complete Forum and Search --> : php4 and Apache1.3.9 installation proble


hasan
04-30-2001, 10:44 PM
I have succesfully installed php4 and Apache1.3.9 on Solaris 2.7.But when I try to access the php4 page instead of parsing it to HTML page the browser returns me the plain text code of the php4 file.
while my httpd.conf file looks like

LoadModule php4_module libexec/libphp4.so
AddModule mod_php4.c

AddType application/x-httpd-php .php3
AddType application/x-httpd-php3-source .phps
AddType application/x-httpd-php .php4
I have tried almost all ways of configuration but still i am unsuccesfull,Please help me its very urgent

Anon
05-01-2001, 07:14 AM
That configuration is correct, just make sure you updated the httpd.conf file that is used by the apache server and that you did an apachectl restart .. everything looks good as far as you've shown however.

Chris King