• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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.

Contribution PHP Panda! Multi-PHP installer for Plesk

Changelog:
* Added suhosin support for PHP 5.2, 5.3, 5.4, 5.5, and 5.6
* Added eaccelerator support for PHP 5.2, 5.3, 5.4, and 5.5

Release Notes:
Php 7.0 support for suhosin is incomplete
PHP 5.6+ support for eaccelerator is not necessary. The recommendation is to use zend-opcache (installed by default in php panda!)

Installation:

Suhosin for Nucleus (subscription required) PHP 5.2 and 5.3:
yum install atomic-php52-php-suhosin atomic-php53-php-suhosin

Suhosin for Atomic PHP 5.4, 5.5, 5.6:
yum install atomic-php54-php-suhosin atomic-php55-php-suhosin atomic-php56-php-suhosin

Eaccelerator for Nucleus (subscription required) PHP 5.2 and 5.3:
yum install atomic-php53-php-eaccelerator atomic-php53-php-eaccelerator

Eaccelerator for Atomic PHP 5.4, and 5.5

yum install atomic-php54-php-eaccelerator atomic-php55-php-eaccelerator​
 
I want to remove plesk php panda. I do it with "remove plesk-php-panda". It works, but the PHP Versions are still there in Plesk hosting preferences "Atomic 5.5 Atomic 5.6" . How can I remove this packages without crash.
Thanks.
 
Hi sthumfart,

please have a look at the Plesk CLI command "/usr/local/psa/bin/php_handler" :



Example commands:

/usr/local/psa/bin/php_handler --help
( ... will list all possible commands for this utility )

/usr/local/psa/bin/php_handler --list

( ... will list all registered php - handlers )

/usr/local/psa/bin/php_handler --remove -id XXX

( where XXX is the ID, as listed with the "--list" string. Only handlers defined with "custom = true" can be deleted! )

 
Think I found a fault in the rpm package for CentOS 7:

Code:
        # 7.0
        if ! /usr/local/psa/bin/php_handler  --list |grep -q "Atomic 7.0"; then
                if [ $LEGACY_HANDLER  ]; then
                        /usr/local/psa/bin/php_handler --add -displayname "Atomic 5.6" -path "/opt/atomic/atomic-php70/root/usr/bin/php-cgi" -phpini "/opt/atomic/atomic-php70/root/etc/php.ini" -type fastcgi -id "fastcgi-70"
                else
                        /usr/local/psa/bin/php_handler --add -displayname "Atomic 5.6" -path "/opt/atomic/atomic-php70/root/usr/bin/php-cgi" -phpini "/opt/atomic/atomic-php70/root/etc/php.ini" -clipath "/opt/atomic/atomic-php70/root/usr/bin/php" -type fastcgi -id "fastcgi-70"
                fi
        fi

displayname shouldn't be "Atomic 5.6"


Also path isn't correct:

Code:
# ls -lad /opt/atomic/atomic*7*
drwxr-xr-x 3 root root 4096 Nov 18 08:58 /opt/atomic/atomic_php70


Thanks for looking into this ;-)
 
Sorry about that, life stuff took up almost the entire month of november for me. Version 1.0-2 has been published to address the above 2 issues.

Again, sorry about the delay!
 
greetings!
I am smoothly running with plesk-panda for a year now on centos7 and plesk 12.0.18 Update #71, and plesk has come up with a similar solution in 12.5 now.
how safe is it to upgrade from plesk12 to plesk12.5?
should the plesk-panda be removed?
please share some experience, if you have done the upgrade from 12 to 12.5,
and kept/removed plesk-panda,
thanks a lot!
 
Changelog
* PHP 7.0.1
* PHP 5.6.16
* PHP 5.3.29 (Backport update)
- Security fix for CVE-2015-0232
- Security fix for CVE-2014-9652
- Security fix for CVE-2015-0273
- Security fix for CVE-2014-9705
- Security fix for CVE-2015-2787
- Security fix for CVE-2015-2348
- Security fix for CVE-2015-4021
- Security fix for CVE-2015-3330
- Security fix for CVE-2015-3329​
 
Release Notes
Updates in this release address the security vulnerabilities referenced in: http://securitytracker.com/id/1034608 and tracked as PHP Bug IDs:

- Security fix PHP Bugid #70728
- Security fix PHP Bugid #70741
- Security fix PHP Bugid #70755
- Security fix PHP Bugid #70661

The above security fixes were backported into Atomic PHP 5.3, and 5.4.

Changelog

* PHP 7.0.2
* PHP 5.6.17
* PHP 5.5.31
* PHP 5.4.45-52
* PHP 5.3.29-32
 
Hello,
My system has CentOS version 5.7, Plesk 12.5.30 and PHP 5.3.3
I want to have PHP version bigger than 5.3.10 to update site in newest Joomla

We have execute through WinSCP software the suggested commands
wget -q -O - http://www.atomicorp.com/installers/atomic |sh
yum install plesk-php-panda

I have received similar messages like the one in QUOTE.
Any help about it?
Can I execute again the process?
Can I undoing this?
Needs something other to done?

Hi,
we installed PHP with PHP Panda. Now we get the following error by executing yum update:

Code:
[root@server ~]# yum update
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* atomic: www7.atomicorp.com
* base: artfiles.org
* extras: artfiles.org
* updates: artfiles.org
Skipping security plugin, no data
Setting up Update Process
Resolving Dependencies
Skipping security plugin, no data
--> Running transaction check
---> Package libsepol.i386 0:2.0.36-1.el5.art set to be updated
---> Package libsepol.x86_64 0:2.0.36-1.el5.art set to be updated
---> Package perl-Archive-Tar.noarch 1:1.39.1-2.el5.art set to be updated
---> Package perl-IO-Socket-INET6.noarch 0:2.67-1.el5.art set to be updated
---> Package perl-Net-DNS.x86_64 0:0.66-1.el5.art set to be updated
--> Processing Dependency: perl(Digest::SHA) for package: perl-Net-DNS
---> Package php.x86_64 0:5.4.26-32.el5.art set to be updated
---> Package php-cli.x86_64 0:5.4.26-32.el5.art set to be updated
---> Package php-common.x86_64 0:5.4.26-32.el5.art set to be updated
---> Package php-devel.x86_64 0:5.4.26-32.el5.art set to be updated
---> Package php-gd.x86_64 0:5.4.26-32.el5.art set to be updated
---> Package php-imap.x86_64 0:5.4.26-32.el5.art set to be updated
---> Package php-ioncube-loader.x86_64 1:4.4.1-3.el5.art set to be updated
---> Package php-mbstring.x86_64 0:5.4.26-32.el5.art set to be updated
---> Package php-mcrypt.x86_64 0:5.4.26-32.el5.art set to be updated
---> Package php-mysql.x86_64 0:5.4.26-32.el5.art set to be updated
---> Package php-pdo.x86_64 0:5.4.26-32.el5.art set to be updated
---> Package php-xml.x86_64 0:5.4.26-32.el5.art set to be updated
--> Processing Dependency: php53 >= 5.3.0 for package: php53-sqlite2
--> Processing Dependency: php53 for package: psa-php53-configurator
--> Processing Dependency: php53-cli for package: psa-php53-configurator
--> Processing Dependency: php53-gd for package: psa-php53-configurator
--> Processing Dependency: php53-imap for package: psa-php53-configurator
--> Processing Dependency: php53-mbstring for package: psa-php53-configurator
--> Processing Dependency: php53-mysql for package: psa-php53-configurator
--> Processing Dependency: php53-pdo for package: psa-php53-configurator
--> Processing Dependency: php53-xml for package: psa-php53-configurator
---> Package spamassassin.x86_64 1:3.3.2-7.el5.art set to be updated
--> Processing Dependency: perl(Mail::SPF) for package: spamassassin
---> Package sqlite.i386 0:3.7.0.1-1.el5.art set to be updated
---> Package sqlite.x86_64 0:3.7.0.1-1.el5.art set to be updated
---> Package svrcore.x86_64 0:4.0.4-4.el5.art set to be updated
--> Running transaction check
---> Package perl-Digest-SHA.x86_64 0:5.50-1.el5.art set to be updated
---> Package perl-Mail-SPF.noarch 0:2.007-1.el5.art set to be updated
--> Processing Dependency: perl(version) for package: perl-Mail-SPF
--> Processing Dependency: php53 >= 5.3.0 for package: php53-sqlite2
--> Processing Dependency: php53 for package: psa-php53-configurator
--> Processing Dependency: php53-cli for package: psa-php53-configurator
--> Processing Dependency: php53-gd for package: psa-php53-configurator
--> Processing Dependency: php53-imap for package: psa-php53-configurator
--> Processing Dependency: php53-mbstring for package: psa-php53-configurator
--> Processing Dependency: php53-mysql for package: psa-php53-configurator
--> Processing Dependency: php53-pdo for package: psa-php53-configurator
--> Processing Dependency: php53-xml for package: psa-php53-configurator
--> Running transaction check
---> Package perl-version.x86_64 1:0.7203-2.el5.art set to be updated
--> Processing Dependency: php53 >= 5.3.0 for package: php53-sqlite2
--> Processing Dependency: php53 for package: psa-php53-configurator
--> Processing Dependency: php53-cli for package: psa-php53-configurator
--> Processing Dependency: php53-gd for package: psa-php53-configurator
--> Processing Dependency: php53-imap for package: psa-php53-configurator
--> Processing Dependency: php53-mbstring for package: psa-php53-configurator
--> Processing Dependency: php53-mysql for package: psa-php53-configurator
--> Processing Dependency: php53-pdo for package: psa-php53-configurator
--> Processing Dependency: php53-xml for package: psa-php53-configurator
--> Finished Dependency Resolution
psa-php53-configurator-1.6.3-rhel5.build115130819.13.x86_64 from installed has depsolving problems
  --> Missing Dependency: php53-cli is needed by package psa-php53-configurator-1.6.3-rhel5.build115130819.13.x86_64 (installed)
psa-php53-configurator-1.6.3-rhel5.build115130819.13.x86_64 from installed has depsolving problems
  --> Missing Dependency: php53-mbstring is needed by package psa-php53-configurator-1.6.3-rhel5.build115130819.13.x86_64 (installed)
psa-php53-configurator-1.6.3-rhel5.build115130819.13.x86_64 from installed has depsolving problems
  --> Missing Dependency: php53-imap is needed by package psa-php53-configurator-1.6.3-rhel5.build115130819.13.x86_64 (installed)
psa-php53-configurator-1.6.3-rhel5.build115130819.13.x86_64 from installed has depsolving problems
  --> Missing Dependency: php53 is needed by package psa-php53-configurator-1.6.3-rhel5.build115130819.13.x86_64 (installed)
psa-php53-configurator-1.6.3-rhel5.build115130819.13.x86_64 from installed has depsolving problems
  --> Missing Dependency: php53-gd is needed by package psa-php53-configurator-1.6.3-rhel5.build115130819.13.x86_64 (installed)
psa-php53-configurator-1.6.3-rhel5.build115130819.13.x86_64 from installed has depsolving problems
  --> Missing Dependency: php53-xml is needed by package psa-php53-configurator-1.6.3-rhel5.build115130819.13.x86_64 (installed)
psa-php53-configurator-1.6.3-rhel5.build115130819.13.x86_64 from installed has depsolving problems
  --> Missing Dependency: php53-pdo is needed by package psa-php53-configurator-1.6.3-rhel5.build115130819.13.x86_64 (installed)
php53-sqlite2-5.3.2-11011812.x86_64 from installed has depsolving problems
  --> Missing Dependency: php53 >= 5.3.0 is needed by package php53-sqlite2-5.3.2-11011812.x86_64 (installed)
psa-php53-configurator-1.6.3-rhel5.build115130819.13.x86_64 from installed has depsolving problems
  --> Missing Dependency: php53-mysql is needed by package psa-php53-configurator-1.6.3-rhel5.build115130819.13.x86_64 (installed)
Error: Missing Dependency: php53-mysql is needed by package psa-php53-configurator-1.6.3-rhel5.build115130819.13.x86_64 (installed)
Error: Missing Dependency: php53 is needed by package psa-php53-configurator-1.6.3-rhel5.build115130819.13.x86_64 (installed)
Error: Missing Dependency: php53-xml is needed by package psa-php53-configurator-1.6.3-rhel5.build115130819.13.x86_64 (installed)
Error: Missing Dependency: php53 >= 5.3.0 is needed by package php53-sqlite2-5.3.2-11011812.x86_64 (installed)
Error: Missing Dependency: php53-imap is needed by package psa-php53-configurator-1.6.3-rhel5.build115130819.13.x86_64 (installed)
Error: Missing Dependency: php53-mbstring is needed by package psa-php53-configurator-1.6.3-rhel5.build115130819.13.x86_64 (installed)
Error: Missing Dependency: php53-gd is needed by package psa-php53-configurator-1.6.3-rhel5.build115130819.13.x86_64 (installed)
Error: Missing Dependency: php53-pdo is needed by package psa-php53-configurator-1.6.3-rhel5.build115130819.13.x86_64 (installed)
Error: Missing Dependency: php53-cli is needed by package psa-php53-configurator-1.6.3-rhel5.build115130819.13.x86_64 (installed)
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
The program package-cleanup is found in the yum-utils package.

Any solutions for that?
 
Last edited:
I want to remove plesk php panda. I do it with "remove plesk-php-panda". It works, but the PHP Versions are still there in Plesk hosting preferences "Atomic 5.5 Atomic 5.6" . How can I remove this packages without crash.
 
I want to remove plesk php panda. I do it with "remove plesk-php-panda". It works, but the PHP Versions are still there in Plesk hosting preferences "Atomic 5.5 Atomic 5.6" . How can I remove this packages without crash.

After you execute the command yum install plesk-php-panda, did you have done something else? In my plesk hosting preferences i don't see declaration for Atomic
 
To remove all the packages, you'd need to define them in yum with the regular "yum remove <packagename>" command, and probably use a wildcard to do it. There are probably 200-300 individual packages in there at this point.

In reference to that php53 overlap, thats coming from another repo (plesk maybe?) not Atomic
 
I have installed plesk-php-panda few years ago and now I added a domain to Plesk, I set PHP to "FastCGI application" and "Atomic 7.0" but if I run "php -v" I get the native PHP version of my server, the 5.4. I forget something to set?
 
Sure since these are SCL packages you need to call them slightly different unless you want to use the full path. Here are the basic commands:

List SCL packages:
scl --list

Example output:
atomic-php54
atomic-php55
atomic-php56
atomic_php70


Run a specific SCL PHP version
scl enable atomic-php56 bash

and look at the php version:
php -v
PHP 5.6.19 (cli) (built: Mar 17 2016 16:13:52)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies

This is also a good shortcut to build any 3rd party modules or extensions for PHP. By running the above "enable" command, it will automatically adjust your shell environment to use that specific version of PHP and its development libraries. You wont have to specify the full path to any of those packages.

This method can also be used to run cron jobs, or even in shell scripts.
 
I try "scl enable atomic_php70 bash" and if I run "php -v" i see PHP 7 but when I running the scripts, I see in the browser php 5.4 again.
 
Back
Top