Update README
This commit is contained in:
parent
c824302fce
commit
82b5653cf0
10
README.md
10
README.md
|
@ -1,3 +1,11 @@
|
|||
# php-chrooter
|
||||
|
||||
Use [chroot with PHP](https://www.php.net/manual/fr/function.chroot.php) anbd isolate your website
|
||||
Use [chroot with PHP](https://www.php.net/manual/fr/function.chroot.php) anbd isolate your website.
|
||||
|
||||
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"` |
|
||||
| libnss_dns | The path where libnss_dns lib is stored. Use `find /lib /usr/lib -name libnss_dns.so.2` to find lib. |
|
Loading…
Reference in New Issue