I can install composer when in a jailshell this way: curl -sSk https://getcomposer.org/installer | php #!/usr/bin/env php All settings correct for using Composer Downloading... Composer successfully installed to: /home/user/composer.phar Use it: php composer.phar but when I try to use it, nothing happens. When logged in as root I can execute composer no problem. When trying to install composer, I got this problem with no -k option: ~$ curl -sS https://getcomposer.org/installer | php curl: (60) SSL certificate problem: unable to get local issuer certificate
PHP is not installed in the jails by default. Have you instaled php in the jail and are you sure that all required php modules are installed as well inside the jail?
Yes, I installed php in the jail. I actually installed it through the jail: curl -sSk https://getcomposer.org/installer | php