• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

upgrade php package

A

abubin

Guest
I am using centos 5.2 x64 for plesk 9.2. The current version of php for centos is 5.1.2.

I would like to upgrade this to latest version but do not want to risk breaking plesk. Would it be possible to upgrade the php version using atomicrocketturtle repository? I have installed ART and using yum can see the latest version is 5.2.9. Can I use yum to upgrade this php? Would it break plesk? Any other method to upgrade without breaking plesk?

Thanks.
 
oh..thanks turtle, nice of you to drop in.

Few more questions,

1) If I upgrade, what about other components like zend optimizer and ioncube which I already installed? Need to install again?

2) What about other php modules? I think the modules would need to be installed again to new version, right?

3) I am assuming since you said to just upgrade, I am assuming it won't make any changes to php.ini or other plesk related config files?

4) Any way to fallback if the installation gone wrong?

Thanks.
 
Is this ok [y/N]: y
Downloading Packages:
(1/1): php-ioncube-loader 100% |=========================| 990 kB 00:03
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
sed: cannot rename /etc//sedALagPF: Invalid cross-device link
error: %pre(php-ioncube-loader-3.1-7.el5.art.x86_64) scriptlet failed, exit status 4
error: install: %pre scriptlet failed (2), skipping php-ioncube-loader-3.1-7.el5.art
 
i had to edit the php.ini file to load ioncube for php 5.2 (previously was using 5.1).

Thanks!!
 
wget -q -O - http://www.atomicorp.com/installers/atomic.sh | sh

yum update php

php-sqlite2-5.1.6-200705230938.i386 from installed has depsolving problems
--> Missing Dependency: php <= 5.2.0 is needed by package php-sqlite2-5.1.6-200705230938.i386 (installed)
Error: Missing Dependency: php <= 5.2.0 is needed by package php-sqlite2-5.1.6-200705230938.i386 (installed)


rpm -Uvh http://isoredirect.centos.org/centos/4/os/i386/CentOS/RPMS/sqlite-3.3.6-2.i386.rpm http://isoredirect.centos.org/centos/4/os/i386/CentOS/RPMS/sqlite-devel-3.3.6-2.i386.rpm
Récupération de http://isoredirect.centos.org/centos/4/os/i386/CentOS/RPMS/sqlite-3.3.6-2.i386.rpm
Récupération de http://isoredirect.centos.org/centos/4/os/i386/CentOS/RPMS/sqlite-devel-3.3.6-2.i386.rpm
attention: /var/tmp/rpm-xfer.xoB7Di: Entête V3 DSA signature: NOKEY, key ID 443e1821
Préparation... ########################################### [100%]
paquetage sqlite-3.3.6-2.i386 déjÃ* installé
le fichier /usr/bin/sqlite3 de l'installation de sqlite-3.3.6-2.i386 entre en conflit avec le fichier du paquetage sqlite-3.3.6-2.i386
le fichier /usr/lib/libsqlite3.so.0.8.6 de l'installation de sqlite-3.3.6-2.i386 entre en conflit avec le fichier du paquetage sqlite-3.3.6-2.i386


What can i do to solve my probleme
 
Well, you can use "--force" key to accomplish sqlite installation.
I'm not sure if it would fix php update issue, but at least you sould advance one step forward.
 
hello atomicturtle

I setup a testing server to check out te latest plesk for linux. I got a similar error as well, my install is the default CentOS 5.3 Server Install and Plesk 9.2.2 my current goal is to complete this guide and setup our production server very soon: http://www.grafxsoftware.com/faq.php/HOW-TO-Setup-a-PLESK-Dedicated-Server/1/4/

did this before setting up plesk ( it was recommended by another guide I was reading, it said these packages conflicted with the onse in plesk )

[root@server ~]# yum remove http*
[root@server ~]# yum remove php*
[root@server ~]# yum remove mysql*

Installed plesk 9.2.2 after that with no problem.

Added the ART Repository to yum, enabled it to plesk 9.2


When i do a "yum update" i get this error:

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* atomic: www.atomicorp.com
* base: mirrors.ucr.ac.cr
* updates: mirror.steadfast.net
* addons: mirror.fdcservers.net
* extras: mirrors.ucr.ac.cr
Excluding Packages from Plesk Server Administrator
Finished
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package avahi.i386 0:0.6.16-1.el5_2.1 set to be updated
---> Package apr.i386 0:1.2.7-11.el5_3.1 set to be updated
---> Package libtiff.i386 0:3.8.2-7.el5_3.4 set to be updated
---> Package php-mysql.i386 0:5.2.9-2.el5.art set to be updated
---> Package krb5-libs.i386 0:1.6.1-31.el5_3.3 set to be updated
---> Package perl.i386 4:5.8.8-18.el5_3.1 set to be updated
---> Package php-gd.i386 0:5.2.9-2.el5.art set to be updated
--> Processing Dependency: libt1.so.5 for package: php-gd
---> Package file.i386 0:4.17-15.el5_3.1 set to be updated
---> Package autofs.i386 1:5.0.1-0.rc2.102.el5_3.1 set to be updated
---> Package nscd.i386 0:2.5-34.el5_3.1 set to be updated
---> Package tomcat5-webapps.i386 0:5.5.23-0jpp.7.el5_3.2 set to be updated
---> Package libvolume_id.i386 0:095-14.20.el5_3 set to be updated
---> Package sudo.i386 0:1.6.9p17-3.el5_3.1 set to be updated
--> Processing Dependency: libmysqlclient.so.15 for package: psa-drweb-configurator
--> Processing Dependency: libmysqlclient.so.15 for package: psa-mail-driver-common
--> Processing Dependency: libmysqlclient.so.15 for package: ruby-mysql
--> Processing Dependency: libmysqlclient.so.15 for package: psa-mail-pc-driver
--> Processing Dependency: libmysqlclient.so.15 for package: psa-kav
--> Processing Dependency: libmysqlclient.so.15 for package: cs-gs
--> Processing Dependency: libmysqlclient.so.15 for package: psa-fileserver
--> Processing Dependency: libmysqlclient.so.15 for package: mysql-server
--> Processing Dependency: libmysqlclient.so.15 for package: php-mysql
--> Processing Dependency: libmysqlclient.so.15 for package: psa
--> Processing Dependency: libmysqlclient.so.15 for package: mysql
--> Processing Dependency: libmysqlclient.so.15 for package: perl-DBD-MySQL
--> Processing Dependency: libmysqlclient.so.15 for package: psa-bf1942
--> Processing Dependency: libmysqlclient.so.15 for package: psa-spamassassin
--> Processing Dependency: libmysqlclient.so.15 for package: psa-backup-manager
--> Processing Dependency: libmysqlclient.so.15 for package: psa-bf2
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15) for package: psa-drweb-configurator
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15) for package: ruby-mysql
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15) for package: php-mysql
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15) for package: psa-fileserver
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15) for package: mysql-server
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15) for package: mysql
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15) for package: perl-DBD-MySQL
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15) for package: cs-gs
--> Processing Dependency: libmysqlclient_r.so.15 for package: mysql-server
--> Processing Dependency: libmysqlclient_r.so.15(libmysqlclient_15) for package: mysql-server

Continuing in next post
 
---> Package tzdata.noarch 0:2009k-1.el5 set to be updated
---> Package mysql-server.i386 0:5.0.84-1.el5.art set to be updated
---> Package php-xml.i386 0:5.2.9-2.el5.art set to be updated
---> Package bind-libs.i386 30:9.3.4-10.P1.el5_3.3 set to be updated
---> Package libxml2-python.i386 0:2.6.26-2.1.2.8 set to be updated
---> Package acpid.i386 0:1.0.4-7.el5_3.1 set to be updated
---> Package java-1.6.0-openjdk-devel.i386 1:1.6.0.0-1.2.b09.el5 set to be updated
---> Package krb5-workstation.i386 0:1.6.1-31.el5_3.3 set to be updated
---> Package libpng.i386 2:1.2.10-7.1.el5_3.2 set to be updated
---> Package cups.i386 1:1.3.7-8.el5_3.6 set to be updated
---> Package cups-libs.i386 1:1.3.7-8.el5_3.6 set to be updated
---> Package bind-chroot.i386 30:9.3.4-10.P1.el5_3.3 set to be updated
---> Package NetworkManager-glib.i386 1:0.7.0-4.el5_3 set to be updated
---> Package tomcat5-server-lib.i386 0:5.5.23-0jpp.7.el5_3.2 set to be updated
---> Package psa-atmail.noarch 1:1.03-2.el5.art set to be updated
---> Package python.i386 0:2.4.3-24.el5_3.6 set to be updated
---> Package spamassassin.i386 1:3.2.5-1.el5.art set to be updated
---> Package sos.noarch 0:1.7-9.16.el5_3.5 set to be updated
---> Package audit-libs-python.i386 0:1.7.7-6.el5_3.3 set to be updated
---> Package nash.i386 0:5.1.19.6-44.1 set to be updated
---> Package glib2.i386 0:2.12.3-4.el5_3.1 set to be updated
---> Package freetype.i386 0:2.2.1-21.el5_3 set to be updated
---> Package audit.i386 0:1.7.7-6.el5_3.3 set to be updated
---> Package nss.i386 0:3.12.3.99.3-1.el5.centos.2 set to be updated
---> Package vsftpd.i386 0:2.0.5-12.el5_3.1 set to be updated
---> Package tomcat5-jsp-2.0-api.i386 0:5.5.23-0jpp.7.el5_3.2 set to be updated
---> Package apr-util.i386 0:1.2.7-7.el5_3.2 set to be updated
---> Package bind.i386 30:9.3.4-10.P1.el5_3.3 set to be updated
---> Package httpd.i386 0:2.2.3-22.el5.centos.2 set to be updated
---> Package samba-client.i386 0:3.0.33-3.7.el5_3.1 set to be updated
---> Package mod_ssl.i386 1:2.2.3-22.el5.centos.2 set to be updated
---> Package device-mapper-multipath.i386 0:0.4.7-23.el5_3.4 set to be updated
---> Package udev.i386 0:095-14.20.el5_3 set to be updated
--> Processing Dependency: mod_jk for package: psa-tomcat-configurator
---> Package kernel.i686 0:2.6.18-128.7.1.el5 set to be installed
---> Package glibc.i686 0:2.5-34.el5_3.1 set to be updated
---> Package samba-common.i386 0:3.0.33-3.7.el5_3.1 set to be updated
---> Package avahi-glib.i386 0:0.6.16-1.el5_2.1 set to be updated
---> Package php-cli.i386 0:5.2.9-2.el5.art set to be updated
---> Package kpartx.i386 0:0.4.7-23.el5_3.4 set to be updated
---> Package samba.i386 0:3.0.33-3.7.el5_3.1 set to be updated
---> Package mkinitrd.i386 0:5.1.19.6-44.1 set to be updated
---> Package bind-utils.i386 30:9.3.4-10.P1.el5_3.3 set to be updated
---> Package crash.i386 0:4.0-7.2.3.el5.centos.1 set to be updated
---> Package php-imap.i386 0:5.2.9-2.el5.art set to be updated
---> Package NetworkManager.i386 1:0.7.0-4.el5_3 set to be updated
---> Package tomcat5-jasper.i386 0:5.5.23-0jpp.7.el5_3.2 set to be updated
---> Package libxml2.i386 0:2.6.26-2.1.2.8 set to be updated
---> Package php.i386 0:5.2.9-2.el5.art set to be updated
---> Package php-pdo.i386 0:5.2.9-2.el5.art set to be updated
---> Package avahi-compat-libdns_sd.i386 0:0.6.16-1.el5_2.1 set to be updated
--> Processing Dependency: php <= 5.2.0 for package: php-sqlite2
---> Package psa-kronolith.noarch 0:2.1.8-2.el5.art set to be updated
---> Package nss-tools.i386 0:3.12.3.99.3-1.el5.centos.2 set to be updated
---> Package tomcat5-admin-webapps.i386 0:5.5.23-0jpp.7.el5_3.2 set to be updated
---> Package psa-proftpd.i386 0:1.3.2-6.el5.art set to be updated
---> Package tomcat5-servlet-2.4-api.i386 0:5.5.23-0jpp.7.el5_3.2 set to be updated
---> Package mysql.i386 0:5.0.84-1.el5.art set to be updated
---> Package ipsec-tools.i386 0:0.6.5-13.el5_3.1 set to be updated
---> Package tomcat5.i386 0:5.5.23-0jpp.7.el5_3.2 set to be updated
---> Package nspr.i386 0:4.7.4-1.el5_3.1 set to be updated
---> Package php-mbstring.i386 0:5.2.9-2.el5.art set to be updated
---> Package tomcat5-common-lib.i386 0:5.5.23-0jpp.7.el5_3.2 set to be updated
---> Package psa-mail-pc-driver.i586 0:1.0.0-cos5.build92090714.19 set to be updated
--> Processing Dependency: cyrus-sasl-sqlite3 for package: psa-mail-pc-driver
--> Processing Dependency: cyrus-sasl-md5 for package: psa-mail-pc-driver
--> Processing Dependency: postfix for package: psa-mail-pc-driver
---> Package pango.i386 0:1.14.9-5.el5.centos set to be updated
---> Package audit-libs.i386 0:1.7.7-6.el5_3.3 set to be updated
---> Package curl.i386 0:7.15.5-2.1.el5_3.5 set to be updated
---> Package php-common.i386 0:5.2.9-2.el5.art set to be updated
---> Package java-1.6.0-openjdk.i386 1:1.6.0.0-1.2.b09.el5 set to be updated
---> Package ksh.i386 0:20080202-2.el5_3.1 set to be updated
---> Package glibc-common.i386 0:2.5-34.el5_3.1 set to be updated
--> Running transaction check
---> Package cyrus-sasl-sqlite3.i386 0:1.0.0-0.279666 set to be updated
---> Package t1lib.i386 0:5.1.2-2.el5.art set to be updated
--> Processing Dependency: libXaw.so.7 for package: t1lib
---> Package mysql-libs.i386 0:5.0.84-1.el5.art set to be updated
---> Package cyrus-sasl-md5.i386 0:2.1.22-4 set to be updated
--> Processing Dependency: mod_jk for package: psa-tomcat-configurator
---> Package postfix.i386 2:2.3.3-2.1.el5_2 set to be updated
--> Processing Dependency: php <= 5.2.0 for package: php-sqlite2
--> Running transaction check
---> Package libXaw.i386 0:1.0.2-8.1 set to be updated
--> Processing Dependency: libXmu.so.6 for package: libXaw
--> Processing Dependency: mod_jk for package: psa-tomcat-configurator
--> Processing Dependency: php <= 5.2.0 for package: php-sqlite2
--> Running transaction check
---> Package libXmu.i386 0:1.0.2-5 set to be updated
--> Processing Dependency: mod_jk for package: psa-tomcat-configurator
--> Processing Dependency: php <= 5.2.0 for package: php-sqlite2
--> Finished Dependency Resolution
php-sqlite2-5.1.6-200705230938.i386 from installed has depsolving problems
--> Missing Dependency: php <= 5.2.0 is needed by package php-sqlite2-5.1.6-200705230938.i386 (installed)
psa-tomcat-configurator-9.2.2-cos5.build92090714.19.noarch from installed has depsolving problems
--> Missing Dependency: mod_jk is needed by package psa-tomcat-configurator-9.2.2-cos5.build92090714.19.noarch (installed)
Error: Missing Dependency: php <= 5.2.0 is needed by package php-sqlite2-5.1.6-200705230938.i386 (installed)
Error: Missing Dependency: mod_jk is needed by package psa-tomcat-configurator-9.2.2-cos5.build92090714.19.noarch (installed)

What can I do, I'm fairly new to linux, set this box so I can learn and then setup our final production box.

Thanks in advance

-Andres
 
did some digging and managed to get "yum update" to work by removing the packages that were giving me de dependency problems

did

yum remove psa-tomcat-configurator
yum remove sb-publish
yum remove php-sqlite2

"yum update" is installing 89 packages as I post this, will update after it finishes

-Andres
 
after the process was done apache didn't start , did some digging and reinstalled psa-tomcat-configurator since it had removed "mod_jk" that apache was missing

yum install psa-tomcat-configurator
 
I'm trying to update from PHP 5.1 to PHP 5.2.6 or better, and running Plesk 9.2 on RHEL 5.

I've followed the directions at http://www.atomicorp.com/wiki/index.php/PHP, but get errors when updating.

Tried just using yum update php and go the following:

Loaded plugins: rhnplugin, security
http://atomicorp.com/channels/asl-2.0/centos/5/i386/repodata/repomd.xml: [Errno 14] HTTP Error 401: Authorization Required
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: asl-2.0. Please verify its path and try again

Any suggestions?
 
Back
Top