• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

PHP 5 upgrade

G

gbeulque

Guest
Hello,

I really really could use some help...

I rent a VPS with FC2, PLESK 7.5.4 and MySQL 4.21 installed on it.

I wanted to upgrade PHP to version 5 (from version 4) and I've used the ART repo for that.

This is what I have done:

1) yum remove php
(I saw a lot of psa dependencies were removed too)

2) yum install php

After this psa didn't work anymore... so I tried to fix this...

3) yum remove psa

4) yum install psa

5) yum install psa-*

psa still doesn't want to start...

Output:
psa.jpg


Also my POP3 mail accounts doesn't work anymore...

PHP 5 is working and my sites are online and working on PHP 5.

Output for rpm -qa | grep php:
Code:
[root@gbeulque root]# rpm -qa | grep php
php-5.0.4-13.rhfc2.art
php-odbc-5.0.4-13.rhfc2.art
php-imap-5.0.4-13.rhfc2.art
php-pgsql-5.0.4-13.rhfc2.art
php-gd-5.0.4-13.rhfc2.art
php-devel-5.0.4-13.rhfc2.art
php-snmp-5.0.4-13.rhfc2.art
php-xml-5.0.4-13.rhfc2.art
php-ldap-5.0.4-13.rhfc2.art
php-pear-5.0.4-13.rhfc2.art
php-mysql-5.0.4-13.rhfc2.art
php-mbstring-5.0.4-13.rhfc2.art

Output for rpm -qa | grep psa:
Code:
[root@gbeulque root]# rpm -qa | grep psa
perl-FreezeThaw-0.43-61psa
psa-logrotate-3.7-fc2.build75050824.12
psa-api-rpc-protocol-7.5.4-fc2.build75050930.11
psa-hotfix3-7.5.4-fc2.build75051115.01
psa-sbm2-1.0-49
psa-ingo-1.0.1-fc2.build75050824.12
psa-vpn-1.0.0-fc2.build75050824.12
psa-horde-3.0.5-fc2.build75050824.12
psa-manual-custom-skin-guide-7.5.4-fc2.build75050824.12
perl-HTML-Format-1.23-51psa
psa-bu-7.5.4-fc2.build75050926.17
psa-hotfix5-7.5.4-fc2.build75060118.18
psa-hotfix-7.5.4-fc2.build75050926.17
perl-MLDBM-2.01-61psa
psa-proftpd-1.2.10-fc2.build75050824.12
psa-boost-1.32.0-6
psa-autoinstaller-2.0.0-fc2.build75050906.11
psa-api-common-7.5.4-fc2.build75051014.16
psa-hotfix2-7.5.4-fc2.build75051014.16
psa-kronolith-2.0.3-fc2.build75050824.12
psa-tomcat-configurator-7.5.4-fc2.build75050824.12
psa-api-rpc-doc-7.5.4-fc2.build75050930.11
perl-MLDBM-Sync-0.30-61psa
psa-proftpd-xinetd-1.2.10-fc2.build75050824.12
perl-Font-AFM-1.18-61psa
psa-turba-2.0.3-fc2.build75050926.17
psa-fileserver-1.0.0-fc2.build75050824.12
psa-api-rpc-7.5.4-fc2.build75050930.11
psa-key-7.5-fc2.build75050824.12
psa-qmail-1.03-fc2.build75050824.12
psa-api-cli-7.5.4-fc2.build75051014.16
psa-hotfix4-7.5.4-fc2.build75051209.14
psa-firewall-1.0.1-fc2.build75050824.12
psa-bf1942-1.0.0-fc2.build75050824.12
psa-pre-keyupdate-7.5.4-fc2.build75050824.12
psa-courier-imap-add-7.5.4-fc2.build75050902.17
psa-7.5.4-fc2.build75050824.12
psa-locale-base-en-US-7.5.4-fc2.build75051115.01
psa-imp-4.0.3-fc2.build75050824.12
psa-migration-manager-7.5.4-fc2.build75050930.11
psa-qmail-rblsmtpd-0.70-fc2.build75050824.12
psa-spamassassin-7.5.4-fc2.build75060118.18
psa-sbm-1.1-35
psa-mnemo-2.0.1-fc2.build75050824.12
psa-agent-1.3.5-75050930.11
psa-passwd-3.0-fc2.build75050824.12
psa-watchdog-1.0.0-fc2.build75050926.17

Could somebody please help me?

Thank you very much!!!

Best regards,

Geoffrey
 
I have followed the steps, but I do not have the correct RPM or something. Unless I have missed something:

yum remove php-domxml
yum upgrade

these just do not do anything for me.

I think there needs to be a step on how to install the rpm, or the command to get it... I get to do something in linux/plesk administration once every 4 or 5 months. So things are a bit rusty on how to do things.

After reading, on some peoples posts, tht we will need to upgrade MySQL and PHP at the same time. Are these 2 seperate RPM's? or are they bundled?

Is there any clear guide on how to and what to upgrade?
 
I found if I simply removed the php-domxml with --nodeps I was able to install ART's php5 without problem... so far...

rpm -e --nodeps dom-xml
yum upgrade php
 
The php5 project page only say you should run "yum remove php-domxml". I tried that first, it wanted to delete most of psa including the software vault.
 
Back
Top