• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

PHP Upgrade not detected

Roberto1

New Pleskian
Hi,
I have upgraded PHP from 5.3 to 5.5 on a CentOS server.
I did not know I could do it using Plesk itself, so instead I replaced the old PHP via command line using another repository.

Before the upgrade, from my server components page, I could see PHP listed here:
https://my.server:8443/plesk/server/components/
It was something like 'php' and version '5.3.3.el6' or similar

But now it's gone. And when I add a new Subscription, I can't sync it with the plan, because it says that some of the plan's default resources or services are unavailable, followed by the table below. I apologize but my Plesk installation is in Italian so I cannot post the exact error message. And I translated the table text so it might be slighly different from the English one

Property | Subscription value | Plan values | Available values | Sites involved
PHP support | inactive | active | inactive | site.com
Run php as | Apache module | Apache module | FastCGI Application | site.com


Is there a way I can tell Plesk I have upgraded PHP and being able to sync subscriptions again?
Also, I'm not sure if it matters, but I'm running Plesk 10.4.4 (I couldn't find a forum for it)

Thanks,
Rob
 
Last edited:
If anyone has the same problem, here's how I solved it:

Plesk automatically deletes the db rows from psa.ServiceNodeProperties if it doesn't detect it as installed any longer.
So after removing the old PHP (php-common-5.3.3-27.el6_5.2.x86_64), that row was deleted.

All I had to do was to find out the current package:

# rpm -qa | grep php
php55w-xml-5.5.18-1.w6.x86_64
php5-ioncube-loader-4.0.7-11082515.x86_64
php55w-pear-1.9.4-7.w6.noarch
php55w-common-5.5.18-1.w6.x86_64
php55w-gd-5.5.18-1.w6.x86_64
php55w-intl-5.5.18-1.w6.x86_64
php55w-process-5.5.18-1.w6.x86_64
php55w-mbstring-5.5.18-1.w6.x86_64
php55w-mysql-5.5.17-1.w6.x86_64
php55w-cli-5.5.18-1.w6.x86_64
php55w-devel-5.5.18-1.w6.x86_64
php55w-pdo-5.5.18-1.w6.x86_64
php55w-imap-5.5.18-1.w6.x86_64
psa-php5-configurator-1.6.1-cos6.build1013111101.14.x86_64
php55w-5.5.18-1.w6.x86_64

Out of the list of packages, identify the one you need. Mine was php55w-common-5.5.18-1.w6.x86_64
An then re-insert the new row in the psa db:

insert into ServiceNodeProperties set serviceNodeId=1, name='server.packages.php', value='php55w-common-5.5.18-1.w6.x86_64';

Rob
 
Back
Top