SOLVED: Enable PHP on local Apache2 server

Klaus-Peter Schrage kpschrage at gmx.de
Wed Dec 28 16:04:28 UTC 2011


Am 28.12.2011 16:25, schrieb Remi Collet:
> Le 28/12/2011 16:10, Klaus-Peter Schrage a écrit :
>
>>> Have you the following SOMEWHERE in your httpd-conf-files?
>>> LoadModule php5_module "modules/libphp5.so"
>>> AddType  application/x-httpd-php .php
>>>
>> Yes, adding those two lines did it: Now I can see the PHP Info page.
> This 2 lines should be present in /etc/httpd/conf.d/php.conf, provided
> by php package.
>
> So httpd.conf doesn't have to be modified.
I know about this mechanism, but none of my php packages from Fedora 
gave me php.conf.


More information about the users mailing list