Hi,
Installed 5.3.6 and everything seemed to be working fine but this morning noticed mysql databases including Horde are not working.
php -v outputs:
# php -v
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysql.so' - /usr/lib64/php/modules/mysql.so: undefined symbol: PL_memory_wrap in Unknown on line 0
PHP 5.3.6 (cli) (built: Apr 19 2011 13:21:12)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
with the ionCube PHP Loader v4.0.5, Copyright (c) 2002-2011, by ionCube Ltd.
with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH
Tried to roll back to 5.2 unsuccessfully, this is the output:
rpm -Uvh --force php-5.2.17-1.el5.art.x86_64.rpm php-common-5.2.17-1.el5.art.x86_64.rpm php-cli-5.2.17-1.el5.art.x86_64.rpm
error: Failed dependencies:
php-cli = 5.3.6-3.el5.art is needed by (installed) php-5.3.6-3.el5.art.i386
Please advice, my customers are trying to kill me....
PHP 5.3.6 mysql connection error
- mikeshinn
- Atomicorp Staff - Site Admin
- Posts: 4149
- Joined: Thu Feb 07, 2008 7:49 pm
- Location: Chantilly, VA
Re: PHP 5.3.6 mysql connection error
You need to use --oldpackage switch:
rpm -Uvh --oldpackage foo-1-1.i386.rpm
https://www.atomicorp.com/wiki/index.php/Rollback
rpm -Uvh --oldpackage foo-1-1.i386.rpm
https://www.atomicorp.com/wiki/index.php/Rollback
Michael Shinn
Atomicorp - Security For Everyone
Atomicorp - Security For Everyone
Re: PHP 5.3.6 mysql connection error
thanks for the input.
forgot to mention I had tried that already:
# rpm -Uvh --oldpackage php*.rpm
warning: package php-cli = 5.2.17-1.el5.art was already added, replacing with php-cli >= 5.3.6-3.el5.art
error: Failed dependencies:
php-cli = 5.2.17-1.el5.art is needed by php-5.2.17-1.el5.art.x86_64
libedit.so.0 is needed by php-cli-5.3.6-3.el5.art.i386
That's why I came with the 'force' instruction which was also unsuccessful.
Any idea??
Thanks again,
forgot to mention I had tried that already:
# rpm -Uvh --oldpackage php*.rpm
warning: package php-cli = 5.2.17-1.el5.art was already added, replacing with php-cli >= 5.3.6-3.el5.art
error: Failed dependencies:
php-cli = 5.2.17-1.el5.art is needed by php-5.2.17-1.el5.art.x86_64
libedit.so.0 is needed by php-cli-5.3.6-3.el5.art.i386
That's why I came with the 'force' instruction which was also unsuccessful.
Any idea??
Thanks again,