• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Plesk 8.4 on Virtuozzo PHP Upgrade

KrazyBob

Regular Pleskian
I currently have Plesk 8.4 running on Virtuozzo 3.x and CentOS 4.5 as the OS. Virtuozzo couldn't do CentOS at the time of install.

How can I upgrade just PHP to at least PHP 4.4.x or even 5.2.x?

Thanks.
 
Thank you, but a Virtuozzo container doesn't have yum. I have read stories of those that tried adding yum and screwing up the server when trying a simple upgrade to PHP.
 
Yum works perfectly well in a Virtuozzo VPS, but when the VPS is fully managed (e.g. your provider updates all software for you) then it is usually not installed.

If your VPS is fully managed by the provider then maybe you could ask them to install a later PHP for you?

If it is not fully managed then ask your provider to install yum for you.

Faris.
 
I am the provider and yum is not installed in a VPS be default. Are you suggesting installing yum and updating PHP that way? And there won't be any problems?
 
Thank you, but please understand that yum is not installed in a VPS by default, at least shen installing standard templates. We haven't removed it. Yum is installed on the hardware node at the time of the build (or if added later.) I would like to just upgrade to PHP 4.4 to avoid script issues. Is this possible instead?

I installed CentOS 5 as a VPS today, but cannot find instructions on how to add each application, such as yum. I have another thread here that has not been replied to on the topic. http://forum.swsoft.com/showthread.php?t=54364
 
Thank you again. I sure appreciate the help. Many things I have had to learn as they come up. Does the installer allow me to upgrade to 4.4 or just 5.2.x? Do I need to change a password setting in the .conf?
 
No I just make 5.2 packages these days. The wiki page does document some of the issues you might run into depending on what you are upgrading from. So yes, you might have to modify some files. Its pretty simple stuff though, it shouldn't take you more than a minute or two.
 
Following your instructions failed.

First, I ran atmonic.sh from inside the VE. In this case the VE had been created using an ez-template for CentOS 5. Plesk 8.6 is loaded. PHP 5.1.2 was installed in the process.

Secon, I ran yum update and it did most of its thing until reaching PHP. Then it failed as shown. So I read elsewhere and updated php-sqlite2 to php-sqlite3 and this failed.

Here's the output:

Code:
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package php.i386 0:5.2.8-3.el5.art set to be updated
--> Running transaction check
--> Processing Dependency: php = 5.1.6-20.el5_2.1 for package: php-devel
--> Processing Dependency: php-cli = 5.2.8-3.el5.art for package: php
--> Processing Dependency: php <= 5.2.0 for package: php-sqlite2
--> Processing Dependency: php-common = 5.2.8-3.el5.art for package: php
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package php-cli.i386 0:5.2.8-3.el5.art set to be updated
---> Package php-devel.i386 0:5.2.8-3.el5.art set to be updated
---> Package php-common.i386 0:5.2.8-3.el5.art set to be updated
--> Running transaction check
--> Processing Dependency: php <= 5.2.0 for package: php-sqlite2
--> Processing Dependency: php-common = 5.1.6-20.el5_2.1 for package: php-odbc
--> Processing Dependency: php-common = 5.1.6-20.el5_2.1 for package: php-ldap
--> Processing Dependency: php-common = 5.1.6-20.el5_2.1 for package: php-xmlrpc
--> Processing Dependency: php-common = 5.1.6-20.el5_2.1 for package: php-xml
--> Processing Dependency: php-common = 5.1.6-20.el5_2.1 for package: php-imap
--> Processing Dependency: php-common = 5.1.6-20.el5_2.1 for package: php-snmp
--> Processing Dependency: php-common = 5.1.6-20.el5_2.1 for package: php-mbstring
--> Processing Dependency: php-common = 5.1.6-20.el5_2.1 for package: php-ncurses
--> Processing Dependency: php-common = 5.1.6-20.el5_2.1 for package: php-mysql
--> Processing Dependency: php-common = 5.1.6-20.el5_2.1 for package: php-gd
--> Processing Dependency: php-common = 5.1.6-20.el5_2.1 for package: php-pdo
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package php-xmlrpc.i386 0:5.2.8-3.el5.art set to be updated
---> Package php-ldap.i386 0:5.2.8-3.el5.art set to be updated
---> Package php-odbc.i386 0:5.2.8-3.el5.art set to be updated
---> Package php-ncurses.i386 0:5.2.8-3.el5.art set to be updated
---> Package php-pdo.i386 0:5.2.8-3.el5.art set to be updated
---> Package php-imap.i386 0:5.2.8-3.el5.art set to be updated
---> Package php-mbstring.i386 0:5.2.8-3.el5.art set to be updated
---> Package php-mysql.i386 0:5.2.8-3.el5.art set to be updated
---> Package php-gd.i386 0:5.2.8-3.el5.art set to be updated
---> Package php-snmp.i386 0:5.2.8-3.el5.art set to be updated
---> Package php-xml.i386 0:5.2.8-3.el5.art set to be updated
--> Running transaction check
--> Processing Dependency: libt1.so.5 for package: php-gd
--> Processing Dependency: php <= 5.2.0 for package: php-sqlite2
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package t1lib.i386 0:5.1.2-2.el5.art set to be updated
--> Running transaction check
--> Processing Dependency: libXaw.so.7 for package: t1lib
--> Processing Dependency: php <= 5.2.0 for package: php-sqlite2
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package libXaw.i386 0:1.0.2-8.1 set to be updated
--> Running transaction check
--> Processing Dependency: libXmu.so.6 for package: libXaw
--> Processing Dependency: php <= 5.2.0 for package: php-sqlite2
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package libXmu.i386 0:1.0.2-5 set to be updated
--> Running transaction check
--> Processing Dependency: php <= 5.2.0 for package: php-sqlite2
--> Finished Dependency Resolution
Error: Missing Dependency: php <= 5.2.0 is needed by package php-sqlite2
-bash-3.2# rpm -Uvh http://isoredirect.centos.org/centos/4/os/i386/CentOS/RPMS/sqlite-3.3.6-2.i386.rpm http://isoredirect.centos.org/centos/5/os/i386/CentOS/RPMS/sqlite-devel-3.3.6-2.i386.rpm
Retrieving http://isoredirect.centos.org/centos/4/os/i386/CentOS/RPMS/sqlite-3.3.6-2.i386.rpm
Retrieving http://isoredirect.centos.org/centos/5/os/i386/CentOS/RPMS/sqlite-devel-3.3.6-2.i386.rpm
error: skipping http://isoredirect.centos.org/centos/5/os/i386/CentOS/RPMS/sqlite-devel-3.3.6-2.i386.rpm - transfer failed - Unknown or unexpected error
-bash-3.2# 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 
Retrieving http://isoredirect.centos.org/centos/4/os/i386/CentOS/RPMS/sqlite-3.3.6-2.i386.rpm
Retrieving http://isoredirect.centos.org/centos/4/os/i386/CentOS/RPMS/sqlite-devel-3.3.6-2.i386.rpm
warning: /var/tmp/rpm-xfer.kePVcH: Header V3 DSA signature: NOKEY, key ID 443e1821
error: Failed dependencies:
        libreadline.so.4 is needed by sqlite-3.3.6-2.i386
-bash-3.2# up2date php
-bash: up2date: command not found
-bash-3.2# yum update    
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5&arch=i386&repo=extras error was
[Errno 4] IOError: <urlopen error (110, 'Connection timed out')>
Error: Cannot find a valid baseurl for repo: extras
-bash-3.2#
 
Well, now I'm jammed up. I haven't heard back from anyone. I tried to uninstall SiteBuilder and it failed with

vzpkg remove 321 sitebuilder4
error: %postun(php5-ioncube-php52-4.5.0-rhas5.08052912.i386) scriptlet failed, exit status 1
ERROR: rpm exited with 255 retcode

I seem to have gone straight to broken. I've got a customer breathing down on me top get this server running PHP 5.2 and I cannot complete the project without getting past this. I paid to open a ticket with SW-Soft and we know how long that ill take.

Any help would be appreciated.
 
After reinstalling the node we're back to the same final error that I cannot get past:


After installing YUM to get PHP updated, we get an error:

--> Processing Dependency: libxerces-c.so.25 for package: expand
--> Processing Dependency: libXaw.so.7 for package: t1lib Restarting
--> Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for libXaw to pack into transaction set.
libXaw-1.0.2-8.1.i386.rpm 100% |=========================| 7.5 kB 00:00

---> Package libXaw.i386 0:1.0.2-8.1 set to be updated
--> Running transaction check
--> Processing Dependency: libxerces-c.so.25 for package: expand
--> Processing Dependency: libXmu.so.6 for package: libXaw Restarting
--> Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for libXmu to pack into transaction set.
libXmu-1.0.2-5.i386.rpm 100% |=========================| 6.4 kB 00:00

---> Package libXmu.i386 0:1.0.2-5 set to be updated
--> Running transaction check
--> Processing Dependency: libxerces-c.so.25 for package: expand
--> Finished Dependency Resolution
Error: Missing Dependency: libxerces-c.so.25 is needed by package expand
 
Back
Top