Hi, I've installed ISP config using the autoinstaller on my new server ( I have 2 other servers running it ) with debian12 and it works perfectly, I had just a problem when creating a new sftp user and access to the ssh server , I couldn't execute any php command or wp cli ( I work most of the time with wp cli to install and configure my new WordPress Websites ) , and the ssh user has Chroot Shell configured to Jailkit Note : The root user does not have any of these problems
The PHP environment needs to be added to the jail. Search for old discussions on this forum, it has been dealt with previously. https://forum.howtoforge.com/thread...or-a-first-time-linux-user.83782/#post-399369
OK, Got it, fixed by updating Jailkit sections under System > Server config > server1.example.com > Jailkit > Jailkit chroot app sections. Code: coreutils basicshell editors extendedshell netutils ssh sftp scp jk_lsh mysql-client git php php5_6 php7_0 php7_1 php7_2 php7_3 php7_4 php8_0 php8_1 php8_2 php8_3 wp composer imagemagick
that's a lot of php versions being added to every single jailkit.. many of them obsolete.. you sure you want to add all of those? i'd stick with just the active supported ones.. 8.2 and 8.3, and 8.1 at a push (still gets security updates) ideally no sites should be using anything before those, but i know it's not an ideal world... if you do need an earlier version, it can be applied to that specific websites jailkit from the websites options tab.. much better than having eg, php5.6 or php7.0 in every single jailkit.
You're right. Even though ISPConfig allows you to choose the PHP version from those, I have removed PHP 5.6, 7.0, 7.1, 7.2, and 7.3. I need to keep PHP 7.4 because many of my applications depend on it.