PHP Security Mode Learn

Source: Internet
Author: User

PHP's security model was created to try to resolve the shared server (shared-server) security issue.

On the structure, it is unreasonable to try to solve this problem on the PHP layer, but it is very unrealistic to modify the Web server layer and the operating system layer. So many people, especially ISPs, currently use Safe mode.

But....

Warning

This feature has been deprecated since PHP 5.3.0 and will be removed from PHP 5.4.0.

Probably understand, after PHP started safe mode, a lot of functions can not be used, such as all filesystem and stream functions. Can not be used, which in our project, will have a great impact, such as the file read and write,

In our work and learning, we need to tailor our servers to our needs, so the security model can be ignored, and our focus is on how to make PHP code more secure.

PHP Security Mode Learn

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.