Open PHP Security Mode (note that PHP5.3 will no longer have safe mode)
The Safe mode of turning PHP on or off is taking advantage of the Safe_mode option in php.ini:
The code is as follows
Copy Code
Safe_mode=on (using
PHP Tutorial Configuration Chinese Narration
Let's see what you see, php.ini.
[PHP]
;;;;;;;;;;;; WARNING;;;;;;;;;;;;; This is the default settings file for new PHP installations.; By default, PHP installs itself with a configuration suitable for;
Introduction: This is a detailed page for configuring Apache + PHP + MySql in Mac OS X. It introduces the related knowledge, skills, experience, and some PHP source code.
Class = 'pingjiaf' frameborder = '0' src = 'HTTP: //
Php does not enable the save_mode safe mode setting method, save_mode setting methodSecurity Configuration 1(1) Enable the php security modeThe security mode of php is a very important embedded security mechanism that can control some php functions,
Php does not enable the save_mode safe mode setting methodSecurity Configuration 1(1) Enable the php security modeThe security mode of php is a very important embedded security mechanism that can control some php functions, such as system (),At the
Rule 1: Never trust external data or inputThe first thing you must realize about WEB application security is that you should not trust external data. External data (outside) includes any data that is not directly entered by the programmer in the PHP
The following software is required:apache:http://www.apache.orgMysql:http://www.mysql.comphp:http://www.php.net/downloads.phpGd:http://www.boutell.com/gd/#buildgdZendoptimizer Http://www.zend.org/products/zend_optimizerGettext http://ftp.gnu.org/pub/
This is a super detailed configuration of Mac OS under the Php+mysql+apache article. Very detailedMost of my configuration is to refer to the above content, for example, PHP can not connect to the database, is to change the default php.ini in the
Security | program PHP is a cross-platform server-side embedded scripting language. It borrows heavily from the syntax of the C,java and Perl languages and is coupled with PHP's own features, enabling Web developers to quickly write dynamically
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.