NGINX + PHP + MySQL in jail







Enable: CURL, GD, IMAP, MBSTRING, MCRYPT, MySQL, MySQLi, OPENSSL, PDO_MySQL, ZIP, ZLIB







MySQL server configuration:





















Next, go through the configuration file and look at the comments with three hash symbols (###), and change them to match your environment.



After setting up SSL:

SSL for jail