Hi guys! I wonder if you have being able to use composer along with a PHP additional version build from source. I did tried to add it to the jail but seems like /opt is not an allowed directory for jails in ispconfig. Code: Traceback (most recent call last): File "/usr/sbin/jk_init", line 247, in <module> main() File "/usr/sbin/jk_init", line 244, in main activateConfig(config, jail, args) File "/usr/sbin/jk_init", line 162, in activateConfig ji.handle_cfg_section(config,jail,cfg,section) File "/usr/sbin/jk_init", line 108, in handle_cfg_section self.didfiles = jk_lib.copy_binaries_and_libs(chroot, paths2, config['force'], config['verbose'], 1, try_hardlink=config['hardlink'],try_glob_matching=1,handledfiles=self.didfiles) File "/usr/share/jailkit/jk_lib.py", line 642, in copy_binaries_and_libs create_parent_path(chroot,os.path.dirname(file), be_verbose, copy_permissions=1, allow_suid=allow_suid, copy_ownership=retain_owner) File "/usr/share/jailkit/jk_lib.py", line 464, in create_parent_path os.mkdir(jailpath, 0755) OSError: [Errno 13] Permission denied: '/var/www/clients/clientX/webY/opt' Maybe build additional php versions on another directory like usr? Ideas? Best regards.
are you sure that opt exists in the web root? The web root is protected, so you can not add directries there unless you remove the protection with chattr -i first.
TBH, I was aware that web root is protected, but not sure how. Is this on the manual or somewhere more detailed? Update: Found it around page 230, thanks.
Thanks! That worked, now I have some other issues related to symfony and composer, but linking a php build to jails worked!