Jailkit PHP's phar extension is missing

Discussion in 'Installation/Configuration' started by variable99, Oct 16, 2023.

  1. variable99

    variable99 Member HowtoForge Supporter

    Added 2 new apps to jailkit for users: composer and wp. When testing any of those commands receiving error:
    Or,
    Stock jk_init.conf from ISPC:
    PHP modules:
     
  2. variable99

    variable99 Member HowtoForge Supporter

    Side note: when user login first time via jSSH login line looks like this:
    Other times when login:
    Here web1 - server hostname.
    Any explanation what is happening here?
     
  3. variable99

    variable99 Member HowtoForge Supporter

    Resolved. jk_init.conf had wrong PHP default version set to php7_4 . Debian 12 has php8_2 . So updated this part:

    PHP:
    [php]
    comment = default php version and libraries
    paths 
    = /usr/bin/php
    includesections 
    php_commonphp8_2
     
    ahrasis likes this.
  4. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Be aware that a ISPConfig update might overwrite this file.
     
  5. variable99

    variable99 Member HowtoForge Supporter

    Is it possible to issue a fix for this? PHP 7.4 is long time EOL'ed and PHP 8.2 is current mainstream:
    https://www.php.net/supported-versions.php
     
  6. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    What we could do is set a variable in the jk_init.ini.master template file for the php version to use $conf['default_php'] from the install/dist/conf/ file.
     
    remkoh, ahrasis and variable99 like this.

Share This Page