Indexing permission control for nginx1.2.3 and php5.3

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.