Re: PHP showing as Plain text in browser- PHP-Apache-Red Hat

From: Date: Fri, 27 Sep 2002 15:43:13 +0000
Subject: Re: PHP showing as Plain text in browser- PHP-Apache-Red Hat
References: 1 2 3  Groups: php.install 
Request: Send a blank email to php-install+get-8596@lists.php.net to get a copy of this message
Very nice, that fixed it. Thanks everyone for all the help. Miguel Carvalho wrote:
I,
I think the LoadModule and AddModule are correct. <IfDefine HAVE_PHP4>
LoadModule php4_module        modules/libphp4.so
</IfDefine> <IfDefine HAVE_PHP4> AddModule mod_php4.c </IfDefine>
Seams right to me.
and I installed from an rpm binary not source. Guess I will have to go back and do it from source.
Do a ps | grep "HAVE_PHP4" If you dont get any result, it means that apache is not defining the "HAVE_PHP4" and so it hasnt PHP support enabled. Kill all httpd process's. Try running the comand: <path_to_apache>/bin/httpd -DHAVE_PHP4 This command will instruct Apache to load it self and activate PHP support. If that works, you may want to disable the <IfDefine> directives in the httpd.conf file, and restart Apache. Miguel


« previous php.install (#8596) next »