I made a change to an existing shell user. I received an error message "The PHP cli binary is not set for the selected PHP version" in the ISPConfig Log. I checked the PHP version used for the website. It's an additional PHP version so I checked the settings under the tab "PHP-CLI settings" in the "Path to the PHP CLI binary" field. It is empty. However, I could not find instructions on how to populate this field. What should I fill out there? And will that solve the error?
https://forum.howtoforge.com/threads/installing-multiple-php-versions-on-rocky-9.94279/#post-466072 If you use Debian or Ubuntu the binaries can be usually found in /usr/bin and usually follows the schema /usr/bin/php<majorversion>.<minorversion> Example: /usr/bin/php8.3 For more infos about the Jailkit sections have a look at the /etc/jailkit/jk_init.ini
Hello Michelangelo, thanks for the suggestions. I'm not sure however what you mean by the reference to the Jailkit sections. Could you elaborate a little more on that please?
The jk_init.ini contains the paths to the binaries that can be deployed to a jailkit jail. Since you didn't mentioned what OS you are using I suggested to you to have a look at this file for path infos for the PHP versions, or to get a general idea of how Jailkit works.
Example for Debian 12 with fresh ISPC V.3.3. The PHP Jailkit sections are located on: /etc/jailkit/jk_init.ini System - Additional PHP Versions Example for PHP 8.4: ----------------- PHP-CLI Settings ----------------- Path to the PHP CLI binary : /usr/bin/php8.4 PHP Jailkit section: php8_4
Shouldn't the instructions on the settings under the tab "PHP-CLI settings" in the "Path to the PHP CLI binary" field be added here: https://www.howtoforge.com/ispconfig-php-ubuntu/#-install-php--10 ?
I stumbled across this problem today on a new ubuntu 24.04 install. Fix: System > Additional PHP Versions > Select PHP Version e.g. PHP 8.4 > PHP-CLI settings Insert the following and amend for the version of PHP Path to the PHP CLI binary: /usr/bin/php8.4 PHP Jailkit section: php8_4 I'm not sure if i needed to, but i also added to System > Server Config > select server > Jailkit Jailkit chroot app sections : Added: php php_common php8_0 php8_1 php8_2 php8_3 php8_4 These can be found in the /etc/jailkit/jk_init.ini file
You don't need to add that to your server's Jailkit chroot app sections since it adds all these PHP versions to all your webspaces that use Jailkit. It will likely just consume more disk space for PHP versions that are probably not used in or by your jails. It is actually sufficient if you fill out the PHP cll binary infos in the PHP-CLI settings tab.