Edit /etc/httpd/conf/httpd.conf and make sure that
LoadModule php4_module modules/libphp4.so
isn't commented out.
Also, make sure that these lines are uncommented:
<IfModule mod_php4.c>
AddType application/x-httpd-php .php .php4 .php3 .phtml
AddType application/x-httpd-php-source .phps
</IfModule>
Finally, make sure you've restarted apache so that apache can load up
these new modules:
/etc/init.d/apache restart
Ian
------------
Dr Ian Firla
Robert Graves Trust | "A partial count of the software available
St John's College, Oxford | in just one noncommerical Linux system
OX1 3JP - +44-(0)7855-310565 | would have cost about $1.9 billion to develop
http://www.robertgraves.org | ... the way Microsoft does it" Bruce Perens
On Thu, 27 Jun 2002, mind rat wrote:
>
> Hi, it's my first time in this list, and i have a question
> i installed rh71 with mysql, apache and these r running cool.
> however when i installed php 4 and try to run a php file, i receive a text
> file in my browser with the code of the php file.
> i used rpm files in every installation.
>
> i've seen a mod_php filee in differents linux distribution and i havent
> found this rpm file in verions mod_php-4.0.6-14 for rh71. Maybe i'm wrong
> and this file doestn exist and i need help. Can anybody advice me. I've
> checked http.conf file and its documentation to verify if it is ok and i did
> a search of the diferents files(mod_php.c, mod_php3.c, etc) and they dont
> exist in my pc. i was question me if i really neeeed mod_php file to access
> these files but i dont know if it exists in this moment.
>
> pls help me....and sorry for my enligh...
>
> thanks
>
> _________________________________________________________________
> Join the world�s largest e-mail service with MSN Hotmail.
> http://www.hotmail.com
>
>
>
> _______________________________________________
> Seawolf-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/seawolf-list
>
_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list