Page 1 of 2

PHP 5.3.6-2 release

Posted: Mon Apr 04, 2011 7:24 pm
by scott
We've been talking about this for months now, so I wanted to give the final notice on this update. It will go live on Apr 5 in the morning EST, If you have *any* reason to hold up on this release please speak up now or forever hold your peace.

Re: PHP 5.3.6-2 release

Posted: Mon Apr 04, 2011 8:03 pm
by mikeshinn
Nooooooooooooooooooooo! (Mike jumps in front of Scott to catch bullet, no bullet is fired and Mike falls on the floor. Everyone stares at Mike as he dusts himself off)

Oh... I see, that was just your pen. OK, sorry my bad.

Yes, please go ahead. :-)

Re: PHP 5.3.6-2 release

Posted: Tue Apr 05, 2011 2:31 pm
by Remik
PHP 5.2 upgrades always used to work before, but as of this morning PHP 5.3 upgrade fails on CentOS 5.5 64-bit (with Plesk 8.6) with the following errors:

Code: Select all

# yum update php
Loaded plugins: fastestmirror
Determining fastest mirrors
 * addons: centos.mirror.freedomvoice.com
 * atomic: www4.atomicorp.com
 * base: mirror.san.fastserv.com
 * extras: mirrors.easynews.com
 * updates: mirror.rocketinternet.net
addons                                                                                                               |  951 B     00:00     
addons/primary                                                                                                       |  204 B     00:00     
atomic                                                                                                               | 1.9 kB     00:00     
atomic/primary_db                                                                                                    | 515 kB     00:00     
base                                                                                                                 | 2.1 kB     00:00     
base/primary_db                                                                                                      | 2.1 MB     00:00     
extras                                                                                                               | 2.1 kB     00:00     
extras/primary_db                                                                                                    | 241 kB     00:00     
updates                                                                                                              | 1.9 kB     00:00     
updates/primary_db                                                                                                   | 1.1 MB     00:00     
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package php.x86_64 0:5.3.6-2.el5.art set to be updated
--> Processing Dependency: php-cli = 5.3.6-2.el5.art for package: php
--> Processing Dependency: php-common = 5.3.6-2.el5.art for package: php
--> Running transaction check
---> Package php-cli.x86_64 0:5.3.6-2.el5.art set to be updated
--> Processing Dependency: libedit.so.0()(64bit) for package: php-cli
--> Processing Dependency: php-common = 5.1.6-27.el5_5.3 for package: php-pdo
--> Processing Dependency: php-common = 5.1.6-27.el5_5.3 for package: php-mbstring
--> Processing Dependency: php-common = 5.1.6-27.el5_5.3 for package: php-gd
--> Processing Dependency: php-common = 5.1.6-27.el5_5.3 for package: php-mysql
--> Processing Dependency: php-common = 5.1.6-27.el5_5.3 for package: php-xml
--> Processing Dependency: php-common = 5.1.6-27.el5_5.3 for package: php-imap
---> Package php-common.x86_64 0:5.3.6-2.el5.art set to be updated
--> Running transaction check
---> Package libedit.x86_64 0:3.0-2.20090923cvs.el5.art set to be updated
---> Package php-gd.x86_64 0:5.3.6-2.el5.art set to be updated
--> Processing Dependency: libt1.so.5()(64bit) for package: php-gd
---> Package php-imap.x86_64 0:5.3.6-2.el5.art set to be updated
---> Package php-mbstring.x86_64 0:5.3.6-2.el5.art set to be updated
---> Package php-mysql.x86_64 0:5.3.6-2.el5.art set to be updated
--> Processing Dependency: libmysqlclient.so.16(libmysqlclient_16)(64bit) for package: php-mysql
--> Processing Dependency: libmysqlclient.so.16()(64bit) for package: php-mysql
---> Package php-pdo.x86_64 0:5.3.6-2.el5.art set to be updated
---> Package php-xml.x86_64 0:5.3.6-2.el5.art set to be updated
--> Running transaction check
---> Package mysql-libs.x86_64 0:5.1.56-1.el5.art set to be updated
---> Package t1lib.x86_64 0:5.1.2-2.el5.art set to be updated
--> Processing Dependency: libXaw.so.7()(64bit) for package: t1lib
--> Running transaction check
---> Package libXaw.x86_64 0:1.0.2-8.1 set to be updated
--> Processing Dependency: libXmu.so.6()(64bit) for package: libXaw
--> Running transaction check
---> Package libXmu.x86_64 0:1.0.2-5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

============================================================================================================================================
 Package                          Arch                       Version                                       Repository                  Size
============================================================================================================================================
Updating:
 php                              x86_64                     5.3.6-2.el5.art                               atomic                     1.4 M
Installing for dependencies:
 libXaw                           x86_64                     1.0.2-8.1                                     base                       329 k
 libXmu                           x86_64                     1.0.2-5                                       base                        63 k
 libedit                          x86_64                     3.0-2.20090923cvs.el5.art                     atomic                      81 k
 mysql-libs                       x86_64                     5.1.56-1.el5.art                              atomic                     2.1 M
 t1lib                            x86_64                     5.1.2-2.el5.art                               atomic                     208 k
Updating for dependencies:
 php-cli                          x86_64                     5.3.6-2.el5.art                               atomic                     2.6 M
 php-common                       x86_64                     5.3.6-2.el5.art                               atomic                     972 k
 php-gd                           x86_64                     5.3.6-2.el5.art                               atomic                     208 k
 php-imap                         x86_64                     5.3.6-2.el5.art                               atomic                      87 k
 php-mbstring                     x86_64                     5.3.6-2.el5.art                               atomic                     2.3 M
 php-mysql                        x86_64                     5.3.6-2.el5.art                               atomic                     158 k
 php-pdo                          x86_64                     5.3.6-2.el5.art                               atomic                     117 k
 php-xml                          x86_64                     5.3.6-2.el5.art                               atomic                     221 k

Transaction Summary
============================================================================================================================================
Install       5 Package(s)
Upgrade       9 Package(s)

Total download size: 11 M
Is this ok [y/N]: y
Downloading Packages:
(1/14): libXmu-1.0.2-5.x86_64.rpm                                                                                    |  63 kB     00:00     
(2/14): libedit-3.0-2.20090923cvs.el5.art.x86_64.rpm                                                                 |  81 kB     00:00     
(3/14): php-imap-5.3.6-2.el5.art.x86_64.rpm                                                                          |  87 kB     00:00     
(4/14): php-pdo-5.3.6-2.el5.art.x86_64.rpm                                                                           | 117 kB     00:00     
(5/14): php-mysql-5.3.6-2.el5.art.x86_64.rpm                                                                         | 158 kB     00:00     
(6/14): php-gd-5.3.6-2.el5.art.x86_64.rpm                                                                            | 208 kB     00:00     
(7/14): t1lib-5.1.2-2.el5.art.x86_64.rpm                                                                             | 208 kB     00:00     
(8/14): php-xml-5.3.6-2.el5.art.x86_64.rpm                                                                           | 221 kB     00:00     
(9/14): libXaw-1.0.2-8.1.x86_64.rpm                                                                                  | 329 kB     00:00     
(10/14): php-common-5.3.6-2.el5.art.x86_64.rpm                                                                       | 972 kB     00:01     
(11/14): php-5.3.6-2.el5.art.x86_64.rpm                                                                              | 1.4 MB     00:01     
(12/14): mysql-libs-5.1.56-1.el5.art.x86_64.rpm                                                                      | 2.1 MB     00:02     
(13/14): php-mbstring-5.3.6-2.el5.art.x86_64.rpm                                                                     | 2.3 MB     00:02     
(14/14): php-cli-5.3.6-2.el5.art.x86_64.rpm                                                                          | 2.6 MB     00:03     
--------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                       637 kB/s |  11 MB     00:17     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test


Transaction Check Error:
  file /etc/my.cnf from install of mysql-libs-5.1.56-1.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
  file /usr/share/mysql/charsets/Index.xml from install of mysql-libs-5.1.56-1.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
  file /usr/share/mysql/charsets/cp1250.xml from install of mysql-libs-5.1.56-1.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
  file /usr/share/mysql/charsets/cp1251.xml from install of mysql-libs-5.1.56-1.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
  file /usr/share/mysql/czech/errmsg.sys from install of mysql-libs-5.1.56-1.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
  file /usr/share/mysql/danish/errmsg.sys from install of mysql-libs-5.1.56-1.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
  file /usr/share/mysql/dutch/errmsg.sys from install of mysql-libs-5.1.56-1.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
  file /usr/share/mysql/english/errmsg.sys from install of mysql-libs-5.1.56-1.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
  file /usr/share/mysql/estonian/errmsg.sys from install of mysql-libs-5.1.56-1.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
  file /usr/share/mysql/french/errmsg.sys from install of mysql-libs-5.1.56-1.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
  file /usr/share/mysql/german/errmsg.sys from install of mysql-libs-5.1.56-1.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
  file /usr/share/mysql/greek/errmsg.sys from install of mysql-libs-5.1.56-1.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
  file /usr/share/mysql/hungarian/errmsg.sys from install of mysql-libs-5.1.56-1.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
  file /usr/share/mysql/italian/errmsg.sys from install of mysql-libs-5.1.56-1.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
  file /usr/share/mysql/japanese/errmsg.sys from install of mysql-libs-5.1.56-1.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
  file /usr/share/mysql/korean/errmsg.sys from install of mysql-libs-5.1.56-1.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
  file /usr/share/mysql/norwegian-ny/errmsg.sys from install of mysql-libs-5.1.56-1.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
  file /usr/share/mysql/norwegian/errmsg.sys from install of mysql-libs-5.1.56-1.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
  file /usr/share/mysql/polish/errmsg.sys from install of mysql-libs-5.1.56-1.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
  file /usr/share/mysql/portuguese/errmsg.sys from install of mysql-libs-5.1.56-1.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
  file /usr/share/mysql/romanian/errmsg.sys from install of mysql-libs-5.1.56-1.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
  file /usr/share/mysql/russian/errmsg.sys from install of mysql-libs-5.1.56-1.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
  file /usr/share/mysql/serbian/errmsg.sys from install of mysql-libs-5.1.56-1.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
  file /usr/share/mysql/slovak/errmsg.sys from install of mysql-libs-5.1.56-1.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
  file /usr/share/mysql/spanish/errmsg.sys from install of mysql-libs-5.1.56-1.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
  file /usr/share/mysql/swedish/errmsg.sys from install of mysql-libs-5.1.56-1.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64
  file /usr/share/mysql/ukrainian/errmsg.sys from install of mysql-libs-5.1.56-1.el5.art.x86_64 conflicts with file from package mysql-5.0.77-4.el5_5.4.x86_64

Error Summary
-------------

Re: PHP 5.3.6-2 release

Posted: Wed Apr 06, 2011 8:01 am
by breun
Is incompatibility with SiteBuilder and thus Plesk 10 still an issue?

Re: PHP 5.3.6-2 release

Posted: Wed Apr 06, 2011 8:38 am
by scott
No, after discussing this with parallels they agreed it was more important to release PHP 5.3.x. I will refer all sitebuilder questions to them

Re: PHP 5.3.6-2 release

Posted: Wed Apr 06, 2011 11:39 am
by DarkF@der
My clients who using joomla are in deep problems with php 5.3
How to downgrade tot php 5.2

some of the joomla users see this error:

Code: Select all

[Wed Apr 06 17:19:13 2011] [error] [client 212.64.111.11] PHP Deprecated: Function split() is deprecated in /var/www/vhosts/xxxxxxxxxx.com/httpdocs/templates/it_cinema/html/modules.php on line 27
[Wed Apr 06 17:19:13 2011] [error] [client 212.64.111.11] PHP Warning: Parameter 1 to IcemodMainMenuHelper::IcebuildXML() expected to be a reference, value given in /var/www/vhosts
and if i say yum downgrade php

Code: Select all

Downgrading:
 php                                         x86_64                       5.2.17-1.el5.art                                        atomic                          1.3 M
Installing for dependencies:
 bzip2-libs                                  i386                         1.0.3-6.el5_5                                           updates                          37 k
 curl                                        i386                         7.15.5-9.el5                                            base                            233 k
 gmp                                         i386                         4.1.4-10.el5                                            base                            664 k
 libidn                                      i386                         0.6.5-1.1                                               base                            194 k
 libxml2                                     i386                         2.6.26-2.1.2.8.el5_5.1                                  updates                         795 k
 php-cli                                     i386                         5.2.17-1.el5.art                                        atomic                          2.4 M
 php-common                                  i386                         5.2.17-1.el5.art                                        atomic                          279 k
Removing for dependencies:
 frontpage                                   x86_64                       5.0-72psa.el5_1.2                                       installed                        30 M
 php-devel                                   x86_64                       5.3.6-2.el5.art                                         installed                       3.1 M
 php-eaccelerator                            x86_64                       1:5.3.6_0.9.6.1-1.el5.art                               installed                       277 k
 php-ioncube-loader                          x86_64                       1:4.0.5-1.el5.art                                       installed                       3.7 M
 plesk-core                                  x86_64                       10.10.1-cos5.build1010110120.18                         installed                        64 M
 plesk-l10n                                  noarch                       10.10.1-cos5.build1010110120.18                         installed                        15 M
 pp-sitebuilder                              noarch                       5.1.0-34158.10122501                                    installed                        79 M
 psa                                         x86_64                       10.1.1-cos5.build1010110120.18                          installed                       435 k
 psa-atmail                                  noarch                       1:1.04-3.el5.art                                        installed                        13 M
 psa-backup-manager                          x86_64                       10.10.1-cos5.build1010110120.18                         installed                        13 M
 psa-firewall                                x86_64                       10.10.1-cos5.build1010110120.18                         installed                       421 k
 psa-health-monitor                          noarch                       10.10.1-cos5.build1010110112.13                         installed                       2.3 k
 psa-horde                                   noarch                       3.3.10-cos5.build1010110119.17                          installed                        20 M
 psa-imp                                     noarch                       4.3.9-cos5.build1010110120.12                           installed                        12 M
 psa-ingo                                    noarch                       1.2.5-cos5.build1010110112.13                           installed                       5.0 M
 psa-kronolith                               noarch                       2.3.5-cos5.build1010110112.13                           installed                       6.2 M
 psa-migration-agents                        x86_64                       10.10.1-cos5.build1010110120.18                         installed                       170 k
 psa-migration-manager                       x86_64                       10.10.1-cos5.build1010110120.18                         installed                       1.0 M
 psa-mimp                                    noarch                       1.1.3-cos5.build1010110112.13                           installed                       2.7 M
 psa-mnemo                                   noarch                       2.2.4-cos5.build1010110112.13                           installed                       4.0 M
 psa-passwd                                  noarch                       3.1.3-cos5.build1010110112.13                           installed                       3.7 M
 psa-php5-configurator                       noarch                       1.6.1-cos5.build1010110207.15                           installed                        125
 psa-spamassassin                            x86_64                       10.10.1-cos5.build1010110120.18                         installed                       176 k
 psa-turba                                   noarch                       2.3.5-cos5.build1010110112.13                           installed                       5.9 M
 psa-updates                                 noarch                       10.1.1-cos5.build1010110112.13                          installed                        0.0
 psa-vhost                                   noarch                       10.10.1-cos5.build1010110112.13                         installed                       178 k
 psa-watchdog                                x86_64                       10.10.1-cos5.build1010110120.18                         installed                       2.9 M

So what's the good way to downgrade only the php from 5.3 to php 5.2 and not the psa stuff (dependencies)?

Thanks in advanced

Re: PHP 5.3.6-2 release

Posted: Wed Apr 06, 2011 5:52 pm
by Remik
Remik wrote:PHP 5.2 upgrades always used to work before, but as of this morning PHP 5.3 upgrade fails on CentOS 5.5 64-bit (with Plesk 8.6) with the following errors:
No one has any ideas how to fix this to install PHP 5.3?

Or better yet - is there a way to manually specify I want PHP v5.2.x installed, instead? I'd much rather install 5.2 - there are some apps that do not seem to play nice with 5.3 yet.

Re: PHP 5.3.6-2 release

Posted: Thu Apr 07, 2011 2:43 am
by breun
I recommend downloading the PHP 5.2 packages you had installed before the upgrade from the yum repository at http://www.atomicorp.com/channels/ and installing those using something like rpm -Uvh --oldpackage php*.rpm

Re: PHP 5.3.6-2 release

Posted: Thu Apr 07, 2011 9:39 am
by Highland
Remik wrote:No one has any ideas how to fix this to install PHP 5.3?

Or better yet - is there a way to manually specify I want PHP v5.2.x installed, instead? I'd much rather install 5.2 - there are some apps that do not seem to play nice with 5.3 yet.
You can exclude php from your repo if you don't want to upgrade.

Your errors are due to your running MySQL 5.0 instead of 5.1. PHP 5.3 was compiled against 5.1 (5.0 went EOL months ago). Upgrade to 5.1 and try upgrading to 5.3

Re: PHP 5.3.6-2 release

Posted: Thu Apr 07, 2011 10:13 am
by nobody
Ok ... Things have gone bad for me 2 ..... :(

In both servers I am in deep problems with Joomla. And phpbb for now... In the beggining I thought it was 1-2 lame customers playing around but now there are many many calling in with problems. Each one with a different issue in joomla.
We need help guys ... How can we downgrade for sure without breaking the rest of the stuff ?
I have mysql 5.1.56 by the way.

Mike - Scott help us !

Re: PHP 5.3.6-2 release

Posted: Thu Apr 07, 2011 10:51 am
by scott
Breuns post above covers exactly how to downgrade to 5.2.

Re: PHP 5.3.6-2 release

Posted: Thu Apr 07, 2011 11:17 am
by Remik
Highland wrote:You can exclude php from your repo if you don't want to upgrade.
Oh I know, I wanted the opposite - I wanted to upgrade PHP from 5.1.6 to 5.2.x. The Atomic repo before Apr.5 had all packages available and it has worked before without problems. As of Apr.5 it serves PHP 5.3 instead, and that's where I run into problems.
Highland wrote:Your errors are due to your running MySQL 5.0 instead of 5.1. PHP 5.3 was compiled against 5.1 (5.0 went EOL months ago). Upgrade to 5.1 and try upgrading to 5.3
I'm running latest CentOS 5.5 64-bit and yum updates do not show mySQL 5.1 as available to download. The current officially supported release is still "Ver 14.12 Distrib 5.0.77, for redhat-linux-gnu (x86_64) using readline 5.1". I do see that mySQL 5.1.56 is available from Atomic, though, so I'll see about upgrading to that, just to get PHP upgraded (which is the only thing I really needed). Thanks for the hint!

Re: PHP 5.3.6-2 release

Posted: Thu Apr 07, 2011 11:50 am
by nobody
scott wrote:Breuns post above covers exactly how to downgrade to 5.2.
So if I wget

Code: Select all

http://www6.atomicorp.com/channels/atomic/centos/5/x86_64/RPMS/php-5.2.17-1.el5.art.x86_64.rpm
and then execute rpm -Uvh --oldpackage php*.rpm

everything will run again smoothly ?

Regards

Re: PHP 5.3.6-2 release

Posted: Thu Apr 07, 2011 12:47 pm
by breun
I assume you have more than just the base php package installed, so you'll want to downgrade those too, all in one go. And you probably need to reload httpd afterwards of course.

Re: PHP 5.3.6-2 release

Posted: Thu Apr 07, 2011 3:28 pm
by nobody
breun wrote:I assume you have more than just the base php package installed, so you'll want to downgrade those too, all in one go. And you probably need to reload httpd afterwards of course.
Like php-cli and php-common ? So yousimply download all these rpms and execute the command. Offcourse then you restart apache and thats it ? You have rolled back ?