check your LoadModule directive.

bye,

---
 Fabio Moraes
 [EMAIL PROTECTED]
 +55 21 3088 9548 



> -----Original Message-----
> From: Trevor Smith [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 27, 2002 9:59 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] PHP showing as Plain text in browser- 
> PHP-Apache-Red
> Hat
> 
> 
>  As the subject says I have apache running on redhat and 
> anything using 
> php simply shows the Plain text code when I view it through a 
> web browser.
> 
> 
> My AddType's from httpd.conf:
> 
> <IfModule mod_php4.c>
>         AddType application/x-httpd-php .php .php4 .php3 .phtml
>         AddType application/x-httpd-php-source .phps
>     </IfModule>
>     <IfModule mod_php3.c>
>         AddType application/x-httpd-php3 .php3
>         AddType application/x-httpd-php3-source .phps
>     </IfModule>
>     <IfModule mod_php.c>
>         AddType application/x-httpd-php .phtml
>     </IfModule>
> 
> I think I have apache support enabled in php.ini currently 
> this file is 
> located in /etc, should it be somewhere else?
> 
> ; Enable the PHP scripting language engine under Apache.
> engine = On
> 
> any ideas would be appreciated
> 
> 
> -- 
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to