PHP not loading on Apache, help!
Hi,
I am having a big problem.
I have a Red Hat 9, with Apache 2.0.40 and PHP 4.2.3 patched to gd2 library.
Apache was instaled when I instaled the RH9, I instaled the rpm Apache-devel-2 to install the php4.2.3.
I used this configuration to install PHP:
./configure --with-apxs2=/usr/sbin/apxs --with-ldap=/usr --with-mysql --with-gd=/usr/local --with-png --with-zlib --with-exif
make
make install
This was instaled succefull.
I configured on httpd.conf the follow:
include *.conf
on php.conf:
LoadModule php4_module modules/libphp4.so
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
LimitRequestBody 524288
</Files>
DirectoryIndex index.php
AddType application/x-httpd-php .php .phtml
When I try load a .php archive via browser, it's downloading the archive not executing the script, so it's not recognizing the extension .php.
I checked the libphp4.so is there on modules folder.
Why the Apache 2 Instaled together the Red Hat 9 is not loading it?
I can't uninstall the apache on server, because i have service running there.
I just uninstaled PHP to install the patch to the gd2 Library.
Thx
Any help will be grate!
Enteal
|