After upgrading php from bleeding edge repositories

6 posts / 0 new
Last post
#1 Tue, 04/23/2013 - 13:42
marciano

After upgrading php from bleeding edge repositories

Hello,
Centos 5.9 Webmin, Virtualmin last versions
Days ago I upgraded php from 5.1.6 to 5.2.17 from bleeding edge repositories.
Now I see
==> /var/log/httpd/error_log <==
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match

What can I do?
Thank you

Tue, 04/23/2013 - 14:05
andreychek

Howdy,

It sounds like PHP is configured to load a module that was compiled for PHP 5.1.x.

The key to fixing that would be to determine what module it's trying to load that's designed to work with the older PHP version.

One thing you may want to do is to verify that all the PHP packages you have installed are from PHP 5.2... you can review those with this command:

rpm -qa | grep '^php`

Wed, 04/24/2013 - 11:16
marciano

Thanks for your reply:
php-cli-5.2.17-1.el5.vmbleed
php-snmp-5.2.17-1.el5.vmbleed
php-pgsql-5.2.17-1.el5.vmbleed
php-devel-5.2.17-1.el5.vmbleed
php-common-5.2.17-1.el5.vmbleed
php-odbc-5.2.17-1.el5.vmbleed
php-pspell-5.2.17-1.el5.vmbleed
php-mbstring-5.2.17-1.el5.vmbleed
php-imap-5.2.17-1.el5.vmbleed
php-5.2.17-1.el5.vmbleed
php-mcrypt-5.2.17-1.el5.vmbleed
php-xmlrpc-5.2.17-1.el5.vmbleed
php-mysql-5.2.17-1.el5.vmbleed
php-pear-1.8.0-1.el5.vm
php-pdo-5.2.17-1.el5.vmbleed
php-gd-5.2.17-1.el5.vmbleed

What should I do?

Wed, 04/24/2013 - 12:00
andreychek

Hmm, it doesn't look like the issue is with any of those.

Do you have modules installed from any other sources that are being loaded?

-Eric

Wed, 04/24/2013 - 13:05
marciano

From php.ini

Loaded Modules
core prefork http_core mod_so mod_auth_basic mod_auth_digest mod_authn_file mod_authn_alias mod_authn_anon mod_authn_dbm mod_authn_default mod_authz_host mod_authz_user mod_authz_owner mod_authz_groupfile mod_authz_dbm mod_authz_default util_ldap mod_authnz_ldap mod_include mod_log_config mod_logio mod_env mod_ext_filter mod_mime_magic mod_expires mod_deflate mod_headers mod_usertrack mod_setenvif mod_mime mod_dav mod_status mod_autoindex mod_info mod_dav_fs mod_vhost_alias mod_negotiation mod_dir mod_actions mod_speling mod_userdir mod_alias mod_rewrite mod_proxy mod_proxy_balancer mod_proxy_ftp mod_proxy_http mod_proxy_connect mod_cache mod_suexec mod_disk_cache mod_file_cache mod_mem_cache mod_cgi mod_version mod_fcgid mod_perl mod_php5 mod_proxy_ajp mod_python mod_ssl mod_dav_svn mod_authz_svn

Additional Modules

dbase
sysvsem
sysvshm

Thanks

Wed, 04/24/2013 - 14:00
andreychek

Howdy,

Well, those look like Apache modules... you'd want to take a peek at your various PHP configuration files to see if any of them are loading a PHP module that's older.

-Eric

Topic locked