Re: php still not working

From: Date: Tue, 26 Jun 2001 10:29:33 +0000
Subject: Re: php still not working
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-55225@lists.php.net to get a copy of this message
If you d'ont compile as a module, you must copile and install apache again.
Trying a re-post from yesterday... My setup is as follows: RH Linux 7.0 PHP 4.0.5 Apache 1.3.20 I've either added or uncommented the following lines from httpd.conf:
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php-source .phps
and to mime.types:
    application/x-httpd-php  php phtml pht
Adding a LoadModule won't work because I didn't compile as a module. I've seen some posts about AddHandler for PHP3, so I tried adding the following to the .conf file:
    AddHandler php-script  .php
having no idea whether this syntax was correct or not since the only example I found in the archuves refered to v. 3. So I still get the html/php code showing up in my browser with no interpretation by PHP. Any suggestions (with the exception of "Hey, maybe you should stick with Windows") are greatly appreciated. TIA Brent -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net


« previous php.general (#55225) next »