Centos 5.2 running Apache 2 and PHP 4 cannot display info.php
Hi all,
I have a Centos 5.2 server, running Apache 2 and PHP 4, but for the life of me I cannot display info.php or any other .php in my browser.
The server info:
Linux 2.6.18-92.1.6.el5 #1 SMP
CentOS release 5.2 (Final)
Installed software:
# rpm -qa |egrep '(php)|(httpd)'
php4-mysql-4.4.8-LAB4
httpd-2.2.3-11.el5_1.centos.3
php4-4.4.8-LAB4
php4-devel-4.4.8-LAB4
httpd-devel-2.2.3-11.el5_1.centos.3
php4-gd-4.4.8-LAB4
system-config-httpd-1.3.3.3-1.el5
httpd-manual-2.2.3-11.el5_1.centos.3
php4-pear-4.4.8-LAB4
The developers wish to use PHP4 as all their current code is done in PHP4.
The entries in my httpd.conf file:
LoadModule php4_module modules/libphp4.so
DocumentRoot "/var/www/html"
DirectoryIndex index.html index.phtml index.php index.phps
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps
When browsing to the server, it displays the test index.html 100%
I get a blank page when trying to display the info.php file.
All permission settings are also correct.
Thanks a bunch.
|