• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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.

upgrading php

K

khatarat

Guest
hi
i have plesk 9.5 on my server.
how can i update php from 5.1 to 5.2?
 
upgrading to PHP 5.2

hello,

I have plesk 9.5.4 installed and I need to upgrade to PHP 5.2

I tried http://www.atomicorp.com/wiki/index.php/PHP

but when I run "yum upgrade" it does a little then I get the following message

You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest

I've installed yum install yum-utils and run "package-cleanup --problems" no problems, "package-cleanup --dupes" says Setting up yum and "rpm -Va --nofiles --nodigest" thinks then shows prompt again


I also tried yum upgrade --skip-broken and it goes through the install/upgrade but when I check the version of php it still shows the old version.

Any help will be fantastic

Thanks,
Andrew
 
I had done a restart of apache. Just tried it again but still the same version number of php
 
I see plesk 9.5.4 can't run a higher version of php then 5.1.6

What version of PHP does plesk 10 ship with?
 
I see plesk 9.5.4 can't run a higher version of php then 5.1.6

What version of PHP does plesk 10 ship with?

Plesk doesn’t ship client’s PHP, it only downloads it from original OS vendor repo and it is quite likely it may be outdated there (especially for older OS). If your OS comes with PHP 5.3, then Plesk would run PHP 5.3 for clients.
 
please show us the complete output of "yum update" and " rpm -aq |grep php"
 
Last edited:
Back
Top