Hello,
 You will find the answer in your Apache Config file:
httpd.conf or httpsd.conf, depenpending on if you are
using ssl or not. The line to look for is:

   AddType application/x-httpd-php .php
   AddType application/x-httpd-php .php4
   AddType application/x-httpd-php-source .phps

If .php works already, as you mention. Look for the line:

AddType application/x-httpd-php .php

and add one that reads:

AddType application/x-httpd-php .php4

That'll do it. :-)

Best Wishes,
 Chris

> I´ve php4 installed in my Red Hat 7.2 linux server and I´m sure I
> have everything properly installed (php and apache) according to the
> manuals and  comments that I found in this site... the problem is
> that when I try to open a php4 page in the server, I get the error
> 
> cannot load MySQL extension,
> please check PHP Configuration.
> 
> the browser download a normal .php file fine
> 
> Can someone please help
> 
> Thanks
> 
> 
> 
> 
> -- 
> PHP Install 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]




............................................
This email was sent using DNSWATCH WebMail.
   "Get an account today!"
http://www.dnswatch.com/dnswm106/



-- 
PHP Install 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]

Reply via email to