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

    https://survey.webpros.com/

Multiple PHP Versions. Tutorial not working.

Azurel

Silver Pleskian
Hi,

I tried to install PHP 5.4.15 on centOS. I use this tutorial http://download1.parallels.com/Ples...inistrator-guide/index.htm?fileName=72042.htm

Set up your php.ini:
cp php.ini-development /usr/local/lib/php.ini

Register this PHP version in Panel:
/usr/local/psa/bin/php_handler --add -displayname NN -path /usr/bin/php-cgi -phpini /some/path/php.ini -type cgi

The last step I change to:
/usr/local/psa/bin/php_handler --add -displayname 5.4.15 -path /usr/bin/php-cgi -phpini /usr/local/lib/php.ini -type fastcgi

1. Is -phpini the same path from "cp php.ini-development /usr/local/lib/php.ini"?

2. "/usr/local/psa/bin/php_handler" not exists. What can i do?
I found a "php_setttings" but this not working with the same options/parameters.
 
Last edited:
Can anybody help here? Without PHP 5.4.x I can not running my software. So this topic is for me urgently. :(

I need both: 5.3 and 5.4.
 
I think that not so many people uses not released Plesk 11.5 version. Note that it is in development stage and your version may not have included this CLI utility. For example:

# cat /usr/local/psa/version
11.5.26 CentOS 5 115130515.08

# ll /usr/local/psa/bin/php_handler
lrwxrwxrwx 1 root root 49 May 15 09:39 /usr/local/psa/bin/php_handler -> /usr/local/psa/admin/plib/api-cli/php_handler.php

# rpm -qf /usr/local/psa/bin/php_handler
plesk-core-11.5.26-cos5.build115130515.08
 
Thanks for this info! I did not realize that 11.5 is still not out. ^^°

Is here a roadmap or so when it appears? around end of the year?
 
Back
Top