• 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.

PHP version not enforced by plan

Miguel_Tellería

Basic Pleskian
Hi there,

Steps to reproduce:

1. Have 2 Plesk plans:
- Plan53 with PHP5.3 fastcgi from native installation (under /usr/lib)
- Plan55 with PHP5.5 fastcgi from Atomic RPM repository (under /opt/atomic/)

2. Have a subscription fully synchronized with Plan53 using PHP 5.3

3. Change the subscription plan to Plan55 and see that it is always synchronized with it.

Expected result: The hosting should be running with PHP5.5
Actual result: The hosting nevertheless still has PHP5.3 as shown by phpinfo web page.

Additional info:

- Plesk 12.0.18 with microupdate 51, under CentOS 6.6

- The PHP version can be changed manually inside the subscription (under websites and domains -> hosting configuration). Here the PHP5.3 value stil persists and changing it brings it to effect and doesn't break the synchronized state of the subscription.

- This behaviour has been observed with several subscriptions, but not all of them. We haven't been able to detect a pattern (old, new).

- This is the output of /usr/local/psa/admin/bin/php_handlers_control --list

id: display name: version: type: cgi-bin: cli-bin: php.ini: system
module 5.3.29 5.3.29 module /usr/bin/php-cgi /etc/php.ini
fastcgi 5.3.29 5.3.29 fastcgi /usr/bin/php-cgi /etc/php.ini
cgi 5.3.29 5.3.29 cgi /usr/bin/php-cgi /etc/php.ini
fastcgi-5.2.17 5.2.17 5.2.17 fastcgi /usr/local/php-5.2.17/bin/php-cgi /usr/local/php-5.2.17/etc/php.ini
fastcgi-54 Atomic 5.4 5.4.28 fastcgi /opt/atomic/atomic-php54/root/usr/bin/php-cgi /opt/atomic/atomic-php54/root/etc/php.ini
fastcgi-55 Atomic 5.5 5.5.22 fastcgi /opt/atomic/atomic-php55/root/usr/bin/php-cgi /opt/atomic/atomic-php55/root/etc/php.ini
fastcgi-56 Atomic 5.6 5.6.0 fastcgi /opt/atomic/atomic-php56/root/usr/bin/php-cgi /opt/atomic/atomic-php56/root/etc/php.ini
fastcgi-52 Atomic 5.2 5.2.17 fastcgi /opt/atomic/atomic-php52/root/usr/bin/php-cgi /opt/atomic/atomic-php52/root/etc/php.ini
 
Back
Top