Hello, When I test it as root user and output the php -m modules, it is also listed. when I log in as website ssh user its not list. Code: php -m [PHP Modules] Core date filter hash json libxml openssl pcntl pcre random Reflection session sodium SPL standard zlib [Zend Modules] can someone show me how to make this available as website ssh user? Thanks - Jules
If you output the modules as root user with “php -m”, “Phar” is listed and is therefore available. If you output the modules as ssh website user with “php -m”, “Phar” is not listed and is not available. My question is: How do I make it available for all the ssh website user
You most likly use a different php version between the 2 users. If you are trying to use composer as a jailkit user, you should just install it on the system and make the composer application available in the jailkit settings
php version is the same, composer is available only the PHP module Phar is not. When I run composer update I get the following message. PHP's phar extension is missing. Composer requires it to run. Enable the extension or recompile php without --disable-phar then try again.
Now I have found a solution, I have added the desired php version in the following file /etc/jailkit/jk_init.ini under PHP: includesections.
Internet Search Engines with Code: jailkit phar finds as first two entries these: - https://forum.howtoforge.com/thread...n-9-class-phar-not-found-in-usr-bin-wp.82258/ - https://forum.howtoforge.com/threads/jailkit-phps-phar-extension-is-missing.91307/