[Phpwm] Fedora PHP module in Apache
mawkati at yahoo.co.uk
Wed Jan 6 11:36:07 UTC 2010
I recently installed Fedora 12, installed Apache, Mysql and PHP. I can start and stop Apache and Mysql, but I can't load PHP in Apache. I looked at the httpd.conf file and obviously there are no modules for PHP there. I have searched the net and looked in my books and the instructions I am coming across just don't seem to correspond with my installation.
My understanding is I need to do the following in the httpd.conf file
LoadModule php5_module /usr/lib/httpd/modules/libphp5.so
AddType application/x-httpd-php .php
I have done this but still when I open a php file in the browser it does not process the php code.
Any ideas where I am going wrong?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Phpwm