FC2 Upgrade to PHP 5.1 Not Working
Posted: Sun May 04, 2008 7:50 pm
I upgraded my php to php-5.1.5-1.rhfc2.art through yum.
The Plesk Admin works ok, but when I visit a php page, the browser wants to download the file.
my php.conf file looks like this:
LoadModule php5_module modules/libphp5.so
AddType application/x-httpd-php .php .php4 .php3 .phtml
DirectoryIndex index.php index.php3
and my modules directory looks like this:
ls /usr/lib/php/modules
gd.so mbstring.so mysql.so pdo_pgsql.so pdo_sqlite.so
imap.so mysqli.so pdo_mysql.so pdo.so pgsql.so
Its acting like /usr/lib/httpd/modules/libphp5.so is not loading at all. I do not see any errors in the log files.
The Plesk Admin works ok, but when I visit a php page, the browser wants to download the file.
my php.conf file looks like this:
LoadModule php5_module modules/libphp5.so
AddType application/x-httpd-php .php .php4 .php3 .phtml
DirectoryIndex index.php index.php3
and my modules directory looks like this:
ls /usr/lib/php/modules
gd.so mbstring.so mysql.so pdo_pgsql.so pdo_sqlite.so
imap.so mysqli.so pdo_mysql.so pdo.so pgsql.so
Its acting like /usr/lib/httpd/modules/libphp5.so is not loading at all. I do not see any errors in the log files.