• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • 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.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Upgrade to PHP5

F

Floro

Guest
I am interested in upgrading the php version of my plesk-server. I do know that this is not an easy subject, partly because the psa is also using php as it's engine. A screw-up could totally finish of my server.

I have the following VPS with root access.

CPU: GenuineIntel, Intel(R) Xeon(TM) CPU 3.20GHz
Version: Version psa v8.3.0_build83071218.20 os_CentOS 4.2
OS: OS Linux 2.6.9-023stab044.4-enterprise

Currently i am using PHP 4.3.9 and i aslo know that yum has not been installed on my server.

What would be the easiest and most foolproof way to upgrade my version of php to php5?

thanks in advance
 
Hi,

i need help with PHP upgrade on my box too but unfortunately dind't find any howto for Ubuntu linux.
Below some box specs:

PHP Version: 4.4.2-1build1
OS: Ubuntu 6.06.1 LTS
Arch: x86_64

Thanks for any suggestion/help.
 
I am interested in upgrading the php version of my plesk-server. I do know that this is not an easy subject, partly because the psa is also using php as it's engine. A screw-up could totally finish of my server.

PSA comes with its own internal PHP engine which is independent of the one used by the Apache webserver that is serving up your websites.
 
Update failed

Well atomicturtle, I executed your script and installed your yum package. After that i started a yum update. It ran for some time and ended at this error.

Error: Missing Dependency: glibc-common = 2.3.4-2.25 is needed by package glibc-dummy-centos-4

After that I rebooted the system. It is still working but the php has not been updated. I do understand that a part is missing and that the update proces was not started because of that but I have no clue what it is or where I could find it.
 
You can't upgrade glibc-common on a virtual server, so you'll need to exclude that package.

Also see http://www.atomicorp.com/wiki/index.php/PHP for more info on the PHP upgrade process.

The only time you'll need to reboot is when you want to start a new kernel and since you're running a virtual server you're not controlling the kernel, so you should never need to reboot your server after updates. Just restarting upgraded services should be enough.
 
Thanks for the tips breun, still excluding that package does not seem very easy. I figured out it has something to do with the yum.conf.
 
Well I can't get this figured out. I keep getting that the package can not be found or that is not working.

This is way is just not foolproof... :(
 
PHP upgrade broke many AV programs

Hello,

I recently upgraded to Centos 5 and with it came PHP 5.x. Besides breaking applications which were already installed, many of my customers are unable to install applications from the vault and are met with PHP version errors.

SWsoft tells me the packages are separate from Plesk and I should treat them like I would treat any other stand alone application and upgrade them myself. I was even sent a link to the home page for some of the apps, so I could verify the system requirements and perhaps fix things myself.

I have already fixed the applications my customers had installed and with a little sweat and perl all the wiki's and Oscommerce sites are running again. However, I don't want to go through the vault and upgrade all the packages which should work off the shelf.

I have only been using Plesk for the last couple of years and mostly everything was running fine on my FC release. Will SWsoft ensure the app vault packages get upgraded, or is that something the users have to do, always?
 
Well I can't get this figured out. I keep getting that the package can not be found or that is not working.

Actual error messages help.

This is way is just not foolproof... :(

The following should exclude glibc-common from being updated:

Code:
# yum --exclude=glibc-common update

You can add exclude=glibc-common to your yum configuration to always exclude this package. Really, it's all in the documentation I pointed you to.
 
Actual error messages help.
Sorry my moral had struck an all time low. I almost gave up. Well excluding the package via the config-file was something I didn't got figured out. But what I did figure was using the parameters like you suggested. I used this code:
Code:
YUM UPDATE --exclude=glibc-common
Unfortunately i still got errors:
Code:
--> Populating transaction set with selected packages. Please wait.
---> Package perl-Socket6.i386 0:0.19-3.el4.art set to be updated
--> Running transaction check
--> Processing Dependency: glibc-common = 2.3.4-2.39 for package: glibc
--> Finished Dependency Resolution
Error: Missing Dependency: glibc-common = 2.3.4-2.39 is needed by package glibc
I also tried this code but it had the same result
Code:
YUM UPDATE --exclude=glibc
Something else I noticed is that when i started yum it hangs for about 30 sec and after that is starts rolling the lines.
 
The order is important. As man yum says: yum [options] [command] [package ...]. The option (--exclude=...) goes before the command (update). Please try again and type the command as I showed you.
 
Done twice to make sure I didn't make any mistake. I copied your line of code. Still the same result shows up.
Code:
---> Package perl-Socket6.i386 0:0.19-3.el4.art set to be updated
--> Running transaction check
--> Processing Dependency: glibc-common = 2.3.4-2.39 for package: glibc
--> Finished Dependency Resolution
Error: Missing Dependency: glibc-common = 2.3.4-2.39 is needed by package glibc
BTW do you know a trick so i can see the entire ouput because my SSH clients only shows the last 50 lines or so?
 
Done
Code:
yum --exclude=glibc* update
It worked, no I am passed the dependencies problem. Next this shows up, can it do any harm?
Code:
(213/214): db4-4.2.52-7.3 100% |=========================| 1.5 MB    00:02 
(214/214): libtool-1.5.6- 100% |=========================| 634 kB    00:00 
warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 443e1821
Public key for rpm-devel-4.3.3-23_nonptl.i386.rpm is not installed
Retrieving GPG key from http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
Importing GPG key 0x443E1821 "CentOS-4 key <centos-4key@centos.org>"
Is this ok [y/N]: n
Exiting on user command
 
Back
Top