Page 1 of 1

problems after upgrading to php 5.2.3

Posted: Thu Oct 04, 2007 5:19 am
by connector
After upgraden to php 5.2.3 last night, I'm having serious problems running php.

Code: Select all

yum info php
Loading "installonlyn" plugin
Setting up repositories
Reading repository metadata in from local files
Installed Packages
Name   : php
Arch   : i386
Version: 5.2.3
Release: 4.el5.art
Size   : 9.5 M
Repo   : installed
Summary: The PHP HTML-embedded scripting language. (PHP: Hypertext Preprocessor)
I'm getting the following error in the php errolog.
But I don't know where to look for and how to change the php startup.

Code: Select all

[04-Oct-2007 13:18:41] PHP Warning:  PHP Startup: fileinfo: Unable to initialize module
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
 in Unknown on line 0
[04-Oct-2007 13:18:41] PHP Warning:  PHP Startup: memcache: Unable to initialize module
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
 in Unknown on line 0
[04-Oct-2007 13:18:41] PHP Warning:  PHP Startup: readline: Unable to initialize module
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
 in Unknown on line 0

Posted: Thu Oct 04, 2007 7:48 am
by scott
sounds like youve got modules mixed in from some other version of php in there.

Posted: Thu Oct 04, 2007 12:10 pm
by connector
scott wrote:sounds like youve got modules mixed in from some other version of php in there.
Any idea how to solve this? Or doe have to uninstall PHP?
When for example I run the command:

Code: Select all

Yum remove PHP
It also want to delete all PSA dependencies, but this is not what I want.