[Phpwm] Fedora PHP module in Apache

Mo Awkati mawkati at yahoo.co.uk
Wed Jan 6 11:36:07 UTC 2010


Hi 

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

and


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?

Cheers

Mo


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.lug.org.uk/pipermail/phpwm/attachments/20100106/a6be232a/attachment.htm 


More information about the Phpwm mailing list