Control Web Panel

WebPanel => PHP => Topic started by: monuchoudhary on July 04, 2020, 01:29:49 PM

Title: PHP in Jailkit
Post by: monuchoudhary on July 04, 2020, 01:29:49 PM
Hello,
 I want some help for add php-fpm73 in jailkit when i give full ssh for users then users easily use php using ssh but when i enable jailkit for user then php not working using ssh even i use normal php for add in jailkit but not work for me
my settings what i add in /etc/jailkit/jk_init.ini ..please help me for run php under jailkit

Code: [Select]
[php]
comment = the php interpreter and libraries
executables = /usr/bin/php,/usr/bin/php5.6,/usr/bin/php7.0,/usr/bin/php7.1
directories = /usr/lib/php, /usr/share/php, /usr/share/php5, /etc/php, /usr/share/php-geshi, /usr/share/zoneinfo, /etc/snmp, /usr/share/snmp
includesections = env

[env]
comment = environment variables
executables = /usr/bin/env
Title: Re: PHP in Jailkit
Post by: joaomach on May 25, 2021, 02:34:02 PM
Were you able to figure this out? I am having same issue.