Nginx1.2.3 and php5.3 directory permission control nginx1.2.3 and php5.3 directory permission control if you use Nginx and use multiple websites on one server, you may be worried about server security, nginx & #43; php is not suitable for multi-site deployment: the directory permission control of Apache nginx1.2.3 and php5.3 is not available.
Nginx1.2.3 and php5.3 directory permission control
If you are using Nginx and use multiple websites on one server, you may be worried about the security of the server and may feel that Nginx + php is not suitable for the deployment of multiple sites: there is no Apache php_admin_value restriction on open_basedir, and No. htaccess for php. ini.
PHP5.3 makes up for this in a timely manner, and many system administrators may not be aware of it. php5.3 has built-in support for software apache such as nginx:
Open_basedir =/usr/local/nginx/html/lixiaoyu:/srv/http/:/home/:/tmp/:/usr/share/pear
The same as open_basedir of apache2.
Related reading:
Directory permission control for apache2 and php5