jailshell composer

Discussion in 'Installation/Configuration' started by iateadonut, Jun 20, 2014.

  1. iateadonut

    iateadonut New Member

    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

    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
  2. srijan

    srijan New Member HowtoForge Supporter

    Did you try to use sudo before that command?
  3. iateadonut

    iateadonut New Member

    It's a jailshell. sudo is not even installed on it. Nor would I want to have to run composer as su.
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    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?
  5. iateadonut

    iateadonut New Member

Share This Page