Added 2 new apps to jailkit for users: composer and wp. When testing any of those commands receiving error: Or, Stock jk_init.conf from ISPC: PHP modules:
Side note: when user login first time via jSSH login line looks like this: Other times when login: Here web1 - server hostname. Any explanation what is happening here?
Resolved. jk_init.conf had wrong PHP default version set to php7_4 . Debian 12 has php8_2 . So updated this part: PHP: [php]comment = default php version and librariespaths = /usr/bin/phpincludesections = php_common, php8_2
Is it possible to issue a fix for this? PHP 7.4 is long time EOL'ed and PHP 8.2 is current mainstream: https://www.php.net/supported-versions.php
What we could do is set a variable in the jk_init.ini.master template file for the php version to use $conf['default_php'] from the install/dist/conf/ file.