Installing PHP4
I was was trying to use apache in combination with mysql and php, it's just that only apache works, and the php pages are seen as files. I have been searching for a while and also had some help of a friend, but we have not able to solve it yet. I put the full content of httpd.conf, php4.conf and php4.load. Has anyone ever had these troubles before, or knows how to solve them?
>/etc/apache2/httpd.conf<
# This is here for backwards compatability reasons and to support
# installing 3rd party modules directly via apxs2, rather than
# through the /etc/apache2/mods-{available,enabled} mechanism.
#
#LoadModule mod_placeholder /usr/lib/apache2/modules/mod_placeholder.so
AddType application/x-httpd-php .php
>/etc/apahce2/mods-enabled/php4.conf<
<IfModule mod_php4.c>
AddType application/x-httpd-php .php .phtml .php3
AddType application/x-httpd-php-source .phps
</IfModule>
>/etc/apache2/mods-enabled/php4.load<
LoadModule php4_module /usr/lib/apache2/modules/libphp4.so
|