You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
2 years ago | |
---|---|---|
LICENSE | 2 years ago | |
README.md | 2 years ago | |
chroot.sh | 2 years ago |
README.md
php-chrooter
Use chroot with PHP anbd isolate your website.
Configure
To use it, edit chroot.sh and edit 3 variables :
Variable | Description |
---|---|
CHROOTPATH | The path where this script store all files, bin, lib needed to chroot website (create this before) |
ZONEINFO | The path where zoneinfo is stored. Find this with find /usr -type d -name "zoneinfo" |
Use``
bash chroot.sh --install
copy all dependencies and store it on CHROOTPATH.
bash chroot.sh --upgrade
upgrade all dependencies in CHROOTPATH.
bash chroot.sh --configure /my/website/path
add all dependencies in website folder mostly with hardlink.