Do you restart Apache after making changes to httpd.conf?
You can use 'path/to/apache/bin/apachectl restart' to do this.
Just a thought.
Mick
On Mon, 25 Jun 2001, brent wrote:
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]