Use chroot with PHP and isolate your website
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Dryusdan f19b8ffec9
Merge pull request 'Add list of chrooted directory' (#1) from add-file-chroot into stable
2 years ago
LICENSE Initial commit 2 years ago Update README 2 years ago Add list file of chrooted directory 2 years ago


Use chroot with PHP anbd isolate your website.


To use it, edit 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"
LISTCHROOTFILE The list file who contain all chrooted directory


bash --install copy all dependencies and store it on CHROOTPATH. bash --upgrade upgrade all dependencies in CHROOTPATH. bash --configure /my/website/path add all dependencies in website folder mostly with hardlink.