ispCP - Board - Support
PHP upgrade - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Update/Upgrade (/forum-44.html)
+--- Thread: PHP upgrade (/thread-9881.html)



PHP upgrade - foxb - 03-06-2010 11:40 AM

I've installed new 1.0.4 in CentOS 5.4

Yesterday new PHP packages were released after issuing yum update I have no more admin panel only blank page...

Did I did something wrong?

How to troubleshoot/fix that?

Thanks in advance


RE: PHP upgrade - gOOvER - 03-06-2010 11:42 AM

Which phpversion??


RE: PHP upgrade - foxb - 03-07-2010 02:16 AM

(03-06-2010 11:42 AM)gOOvER Wrote:  Which phpversion??

I've updated from 5.3.1-1 (remi) to 5.3.2-1 (remi)

Here is full list of updated packages
Code:
Mar 06 03:29:15 Updated: php-common-5.3.2-1.el5.remi.i386
Mar 06 03:29:15 Updated: php-pdo-5.3.2-1.el5.remi.i386
Mar 06 03:29:15 Updated: php-cli-5.3.2-1.el5.remi.i386
Mar 06 03:29:15 Updated: php-gd-5.3.2-1.el5.remi.i386
Mar 06 03:29:15 Updated: php-dba-5.3.2-1.el5.remi.i386
Mar 06 03:29:15 Updated: php-mysql-5.3.2-1.el5.remi.i386
Mar 06 03:29:16 Updated: php-mbstring-5.3.2-1.el5.remi.i386
Mar 06 03:29:16 Updated: php-mcrypt-5.3.2-1.el5.remi.i386
Mar 06 03:29:16 Updated: php-snmp-5.3.2-1.el5.remi.i386
Mar 06 03:29:16 Updated: php-odbc-5.3.2-1.el5.remi.i386
Mar 06 03:29:16 Updated: php-5.3.2-1.el5.remi.i386
Mar 06 03:29:16 Updated: php-ldap-5.3.2-1.el5.remi.i386
Mar 06 03:29:16 Updated: php-bcmath-5.3.2-1.el5.remi.i386
Mar 06 03:29:16 Updated: php-xml-5.3.2-1.el5.remi.i386

Good I did no put any customers there yet.


RE: PHP upgrade - gOOvER - 03-07-2010 02:40 AM

ispCP is Not fully compatible with php 5.3.x Wink


RE: PHP upgrade - foxb - 03-07-2010 03:12 AM

(03-07-2010 02:40 AM)gOOvER Wrote:  ispCP is Not fully compatible with php 5.3.x Wink

I agree - had to fix some code, but it worked in 5.3.1.

I suspect that there is something else...

Anyway I'll try to reinstall ISPcp...

is there up to date rpm package for 5.2?

remi repo has only 5.3

Update:

Downgraded to php5.2.10
Code:
Mar 06 21:02:04 Erased: php-mysql
Mar 06 21:02:04 Erased: php-mbstring
Mar 06 21:02:04 Erased: php-pdo
Mar 06 21:02:04 Erased: php-bcmath
Mar 06 21:02:04 Erased: php-odbc
Mar 06 21:02:04 Erased: php-gd
Mar 06 21:02:04 Erased: php-cli
Mar 06 21:02:04 Erased: php-mcrypt
Mar 06 21:02:04 Erased: php-xml
Mar 06 21:02:04 Erased: php-pear
Mar 06 21:02:04 Erased: php-dba
Mar 06 21:02:04 Erased: php-snmp
Mar 06 21:02:04 Erased: php-common
Mar 06 21:02:04 Erased: php
Mar 06 21:02:04 Erased: php-ldap
Mar 06 21:04:33 Installed: php-common-5.2.10-1.el5.centos.i386
Mar 06 21:04:33 Installed: php-pdo-5.2.10-1.el5.centos.i386
Mar 06 21:04:33 Installed: php-cli-5.2.10-1.el5.centos.i386
Mar 06 21:04:34 Installed: php-5.2.10-1.el5.centos.i386
Mar 06 21:04:34 Installed: php-odbc-5.2.10-1.el5.centos.i386
Mar 06 21:04:34 Installed: php-ldap-5.2.10-1.el5.centos.i386
Mar 06 21:04:34 Installed: php-mcrypt-5.2.9-2.el5.centos.3.i386
Mar 06 21:04:34 Installed: php-mysql-5.2.10-1.el5.centos.i386
Mar 06 21:04:34 Installed: php-mbstring-5.2.10-1.el5.centos.i386
Mar 06 21:04:34 Installed: php-snmp-5.2.10-1.el5.centos.i386
Mar 06 21:04:34 Installed: php-xml-5.2.10-1.el5.centos.i386
Mar 06 21:04:34 Installed: php-gd-5.2.10-1.el5.centos.i386
Mar 06 21:04:34 Installed: php-dba-5.2.10-1.el5.centos.i386
Mar 06 21:04:34 Installed: php-bcmath-5.2.10-1.el5.centos.i386

did not change much

I checked the logs full of these error 500?
Code:
[06/Mar/2010:21:08:49 +0300] "GET / HTTP/1.1" 500 - "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729)"

Update:
Started from scratch...

Hopefully someone will put a tutorial what to do when upgrade of core package is out...


RE: PHP upgrade - Smallserver - 03-08-2010 04:43 AM

I am having those problems too, on Debian Squeeze. Does anyone know how to downgrade tot php5.2.13 in Debian.
Might be OT, but my system is crippled after doind the update to ispcp 1.0.4 which upgraded my php5 as well :-(

Herman


RE: PHP upgrade - c0urier - 03-09-2010 08:55 AM

You can remove all php packages, then add the etch source.list then reinstall the php packages. That will solve the problem.

Just don't do an upgrade with the etch source list, and remember to change it back to squeeze afterwards just don't re-upgrade the package to 5.3.x again. Keep those packages back!


RE: PHP upgrade - kilburn - 03-09-2010 07:25 PM

As a side note, squeeze is a moving target (versions of all programs/libs/services are still being changed). Therefore, you should avoid using it on production servers for now...


RE: PHP upgrade - foxb - 03-10-2010 11:02 AM

Just a followup - I reinstalled the server with PHP 5.2.10 and it works for now. Will post updates when Upstream provider releases newer PHP.