Skip to content
Snippets Groups Projects
Commit 3dbd8ae7 authored by jurgenhaas's avatar jurgenhaas
Browse files

Improve and document jk_init for PHP 7.1

parent 23c5b3a5
No related branches found
No related tags found
No related merge requests found
When updating PHP version at a later stage, there are extra steps that need to be taken:
- Update `/etc/jailkit/jk_init.ini`
- Force updating all Jails: `jk_init --force -j /jails/[NAME]/ php`
- Manually update `/jails/[NAME]/etc/alternatives/php`
......@@ -170,7 +170,7 @@ executables = /usr/local/bin/php
directories = /usr/lib/php5, /usr/share/php, /usr/share/php5, /etc/php5, /usr/share/zoneinfo, /usr/local/lib/php/extensions
{% elif php_version_main|default('7') == '7' %}
executables = /usr/bin/php
directories = /usr/lib/php, /usr/share/php, /usr/share/php{{php_version|default("7.0")}}-*, /etc/php, /usr/share/zoneinfo
directories = /usr/lib/php, /usr/share/php, /usr/share/php{{php_version|default("7.0")}}-*, /etc/php, /usr/share/zoneinfo, /usr/lib/x86_64-linux-gnu/libxml*
{% else %}
executables = /usr/bin/php5
directories = /usr/lib/php5, /usr/share/php, /usr/share/php5, /etc/php5, /usr/share/zoneinfo
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment