[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Jailkit-users] Jailkit PHP5 when multiple php versions exist

From: djoukoff
Subject: [Jailkit-users] Jailkit PHP5 when multiple php versions exist
Date: Sun, 2 Dec 2018 12:13:45 +1100
User-agent: SquirrelMail/1.4.23 [SVN]

The jk_init stanza for [php] is:
comment = the php interpreter and libraries
executables = /usr/bin/php5, /usr/bin/php
directories = /usr/lib/php5, /usr/share/php, /usr/share/php5, /etc/php5,
/usr/share/php-geshi, /usr/share/zoneinfo
includesections = env

However, because I have multiple PHP versions installed, the
/etc/alternatives/php symlink that is copied across (not sure where this
happens from) can sometimes point to a different version of php.  This can
lead to a broken jail setup.

Is there a way of fixing this?

Also, is it possible to execute scripts (which could be used to fix or
initialise symlinks and other installation dependent) as part of a jk_init


reply via email to

[Prev in Thread] Current Thread [Next in Thread]