• 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

Many updates today, hopefully resolving some long standing php.ini issues on 64 bit platforms. Security fix backporting is now complete for 5.2!

Changelog:

* PHP 5.6 has been updated to beta 3
* PHP 5.2 backport of CVE fixes is now complete
* php.ini fixes have been applied to PHP 5.2, 5.5, and 5.6
* PHP 5.2 has been moved out from the core php-panda package into php52-panda
 
Just installed it on a fresh 12.0.18 CentOS 6 1200140513.16
(fully updated).


But got:

Code:
Running Transaction
  Installing : plesk-php52-panda-0.5-4.el6.art.x86_64                                                                                    1/1
Non-fatal POSTIN scriptlet failure in rpm package plesk-php52-panda-0.5-4.el6.art.x86_64
/var/tmp/rpm-tmp.tOIcgV: line 13: syntax error: unexpected end of file
warning: %post(plesk-php52-panda-0.5-4.el6.art.x86_64) scriptlet failed, exit status 2
  Verifying  : plesk-php52-panda-0.5-4.el6.art.x86_64


The file was gone before I could open it, so I did the lazy thing:

Code:
while (usleep 500); do cp /var/tmp/rpm-tmp.* /tmp/saved; done


The issue is this:

Code:
# grep if /tmp/saved | wc -l
3
# grep fi /tmp/saved | wc -l
2



Just needs another fi before #fi
 
Thanks,

just posting:

Code:
]# rpm -q --scripts plesk-php52-panda
postinstall scriptlet (using /bin/sh):
#if [ $1 = 1 ]; then
# Install
if [ -f /usr/local/psa/bin/php_handler ]; then
        # 5.2
        if ! /usr/local/psa/bin/php_handler  --list |grep -q "Atomic 5.2"; then
                /usr/local/psa/bin/php_handler --add -displayname "Atomic 5.2" -path "/opt/atomic/atomic-php52/root/usr/bin/php-cgi" -phpini "/opt/atomic/atomic-php52/root/etc/php.ini" -type fastcgi -id "fastcgi-52"
        fi


#fi


Makes much more sense indeed :)


Learning something new each day!
 
Hello

I installed PHP panda and everything works fine but the problem is now i can't upload files to Joomla.
Everytime i get an error Message like There is an Error at the uploading of the file.

I am using now Centos 6.5 with plesk 11.5 and joomla 3.3 and PHP Panda php version 5.4 via fastcgi
 
This ist the part of the log.

[Sat May 31 11:49:32 2014] [warn] [client myip] mod_fcgid: read data timeout in 45 seconds, referer: http://domainname/administrator/index.php
[Sat May 31 11:49:32 2014] [error] [client myip] Premature end of script headers: index.php, referer: http://domainname/administrator/index.php
[Sat May 31 11:49:35 2014] [warn] [client myip] mod_fcgid: read data timeout in 45 seconds, referer: http://domainname/administrator/index.php
[Sat May 31 11:49:35 2014] [error] [client myip] Premature end of script headers: index.php, referer: http://domainname/administrator/index.php

thanks
// I now increased the Timeout in the fastcgi but now I am getting this error

[Sat May 31 18:45:42 2014] [warn] [client Ip-adress] mod_fcgid: stderr: PHP Notice: Undefined index: HTTP_HOST in /var/www/vhosts/Domain/httpdocs/libraries/joomla/application/web.php on line 869
[Sat May 31 18:45:42 2014] [warn] [client Ip-adress] mod_fcgid: stderr: PHP Notice: Undefined index: HTTP_HOST in /var/www/vhosts/Domain/httpdocs/libraries/joomla/uri/uri.php on line 174
[Sat May 31 21:04:52 2014] [warn] [client Ip-adress] mod_fcgid: stderr: PHP Notice: Undefined index: HTTP_HOST in /var/www/vhosts/Domain/httpdocs/libraries/joomla/application/web.php on line 869
[Sat May 31 21:04:52 2014] [warn] [client Ip-adress] mod_fcgid: stderr: PHP Notice: Undefined index: HTTP_HOST in /var/www/vhosts/Domain/httpdocs/libraries/joomla/uri/uri.php on line 174
[Sun Jun 01 02:20:37 2014] [warn] [client Ip-adress] mod_fcgid: stderr: PHP Notice: Undefined index: HTTP_HOST in /var/www/vhosts/Domain/httpdocs/libraries/joomla/application/web.php on line 869
[Sun Jun 01 02:20:37 2014] [warn] [client Ip-adress] mod_fcgid: stderr: PHP Notice: Undefined index: HTTP_HOST in /var/www/vhosts/Domain/httpdocs/libraries/joomla/uri/uri.php on line 174


Thanks for any furthert help
 
Last edited:
Thats just a notice, not an error. It looks like a code problem, beyond that I couldn't say

I know checked everything and the Problem is that the FastCGI doesn't work pretty well with the Server but on Normal CGI everything works fine so is there a possiblity to switch from FastCGI to normal cgi?
 
Ive considered doing a similiar project for mysql or mariadb, and the SCL structure would support it easily. What I'd like to know is how would the user community react to a changing the structure of mysql from /var/lib/mysql, to /opt/atomic/mysqlXX/var/lib/mysql, and all its libraries moving to /opt/atomic/mysqlXX/usr/lib64/mysql.
 
I dont think is a bad idea if is working properly ;)
I am asking because after added your repository also mysql upgraded too, except if was remi repo
 
Hi,

I am new to the forums and i used this package in hope that multie PHP will work ... i tryed Plesk instructions but they did not work for me ... everything went ok with PHP instalation but afterward when i registered new PHP with Plesk as option ... it did not make it
as option but it overwriten the existing PHP version and broke Plesk for me ...

Thats why i am trying this option now ... i installed everything by this instructions:
wget -q -O - http://www.atomicorp.com/installers/atomic |sh
yum update atomic-release
yum install plesk-php-panda


The result:
Plesk default php is now running on PHP - 5.4.29 and Plesk is not broker this is good

But how do i add new PHP version as a option for client package in Plesk ?

Tnx-u for any assistance ...
 
Back
Top