On Tue, 6 Feb 2007 18:26:14 +0100, Paul wrote
> Hi all,
>
> I have my system back in order mostly.
> I just need the pointer on how to activate PHP within Apache. Again.
> I think I installed all that I need for that. It is probably just
> one directive in a resourcefile I need to add or change.
>
> Thanks for the help!
> Paul
Hi Paul,
check the httpd.conf for these:
----------8<------------------------
LoadModule php5_module modules/libphp5.so

<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
AddType application/x-httpd-php .php
#
# Add index.php to the list of files that will be served as directory
# indexes.
#
DirectoryIndex index.html index.php
----------8<------------------------

maybe do some sanity checking:
for config file syntax,
$ /usr/bin/httpd -t
To make sure the module is loaded,
$ /usr/bin/httpd -M
Loaded Modules:
. . .
 php5_module (shared)
Syntax OK

and Google is always your friend,
http://dan.drydog.com/apache2php.html
http://www.petefreitag.com/item/516.cfm

HTH
-- 
RickS
____________________________________________________
Want to buy your Pack or Services from Mandriva? 
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________

Reply via email to