Page 1 of 3

php 4.3.10 update through yum

Posted: Thu Dec 16, 2004 5:37 pm
by NightStorm
Ouch. All sorts of MySQL-based errors popped up from that one. Had to roll back to 4.3.9-2.
Output of my yum update check was:
php i386 4.3.10-1.rhel3.art atomic
php-devel i386 4.3.10-1.rhel3.art atomic
php-imap i386 4.3.10-1.rhel3.art atomic
php-ldap i386 4.3.10-1.rhel3.art atomic
php-mbstring i386 4.3.10-1.rhel3.art atomic
php-mysql i386 4.3.10-1.rhel3.art atomic
php-odbc i386 4.3.10-1.rhel3.art atomic
php-pear i386 4.3.10-1.rhel3.art atomic
php-pgsql i386 4.3.10-1.rhel3.art atomic
Result was:
mySQL query error: Array

mySQL error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'Array' at line 1
mySQL error code:
Date: Thursday 16th of December 2004 04:04:02 PM
IPB WARNING [2] implode(): Bad arguments. (Line: 157 of /sources/classes/class_session.php)
There were others too, but I lost interest after this one, and rolled back.

How did you rollback?

Posted: Fri Dec 17, 2004 9:19 am
by brandonp
I also need to rollback the update since I am having the same issues.

How do you rollback to a previous copy of PHP using yum?

Brandon Petersen

PHP 4.3.10 Update Issues

Posted: Fri Dec 17, 2004 9:22 am
by brandonp
I am seeing lots of issues with foreach(), preg_match(), and anything that uses arrays with the latest PHP 4.3.10 update.

Brandon Petersen

Posted: Fri Dec 17, 2004 9:24 am
by NightStorm
The easiest way is to grab the php files off ARTs yum repository manually (using wget), save them all into their own seperate directory, then cd to that directory and rpm -Uhv --oldpackage *.rpm
You may have to use the --force flag as well, but try it first without that, as --force has on occasion caused more trouble than it has fixed.
For the record, I rolled back to the last release before this one, PHP 4.3.9-11

Thank You!

Posted: Fri Dec 17, 2004 9:42 am
by brandonp
Thank you, that was fairly easy to get my server running again. That was very helpful.

The 4.3.10 update also caused Horde to not work, it was also complaining about an array issue.

Brandon Petersen

Posted: Fri Dec 17, 2004 9:48 am
by NightStorm
It caused a lot more to not work than Horde... pretty much anything on my server that depended on PHP and MySQL in any form at all failed. At least Plesk seemed to have it's own built-in PHP engine or something, since most of my customers didnt say anything about it going down... but wow, the complaints about forums dropping.

Posted: Fri Dec 17, 2004 2:45 pm
by scott
In the future, a bug report isnt useful to me at all without the context of the OS its running on (rh9, 3es/as/wb, fc1, fc2, fc3).

I updated using yum and all its ok

Posted: Fri Dec 17, 2004 4:27 pm
by Diego
My server is running RH9, Plesk 6.0.2, and updated my PHP from 4.3.9 to 4.3.10 using yum and everything its running fine.

Posted: Fri Dec 17, 2004 4:29 pm
by NightStorm
3ES, Plesk 7.5.1 (hence the install of files from the rhel3 archive ;)).

Posted: Sat Dec 18, 2004 8:07 am
by magenta
RH9 + PLESK7.5
After my YUM update Horde, etc. broke.
I realised that php-perl has not been updated from 4.3.9 to 4.3.10, but a manual install of it did not help it.
I had to go back to 4.3.9 .

Posted: Sat Dec 18, 2004 9:31 am
by phpcoder
Hi,
rpm -Uhv --oldpackage --force php-4.3.9-11.rhfc1.art.i386.rpm command doesn't work for me.

I downloaded all things


error: Failed dependencies:
php-mbstring = 4.3.9-11.rhfc1.art is needed by php-4.3.9-11.rhfc1.art
php = 4.3.10-1.rhfc1.art is needed by (installed) php-imap-4.3.10-1.rhfc1.art
php = 4.3.10-1.rhfc1.art is needed by (installed) php-mysql-4.3.10-1.rhfc1.art
php = 4.3.10-1.rhfc1.art is needed by (installed) php-pgsql-4.3.10-1.rhfc1.art
php = 4.3.10-1.rhfc1.art is needed by (installed) php-mbstring-4.3.10-1.rhfc1.art

Posted: Sat Dec 18, 2004 10:51 am
by NightStorm
Found this on the Plesk Forum:
http://bugs.php.net/bug.php?id=31108
It claims that updating ZendOptimizer to a minimum build of 2.5.7 will fix the problems.
Who wants to try?

Posted: Sat Dec 18, 2004 11:05 am
by phpcoder
Thanks for all,

After upgrade Zend Optimizer to 2.5.7 every thing is ok...

Posted: Sat Dec 18, 2004 11:22 am
by NightStorm
Anyone know of an RPM for Zend Optimizer for 3ES? The install file is asking a lot of questions that are making me somewhat paranoid... would prefer to just have an RPM answer the questions for me.

php update to 4.3.10 and Horde Blank Page

Posted: Sat Dec 18, 2004 11:49 am
by phpcoder
Hi,
after update php to 4.3.10 and after Install updated zend optimizer, now horde has a blank page error

Is there a solution for this?


I don't see any RPM for zend, I installed from console...