Php security configuration records and common errors (Summary), common php errors
After the php environment is deployed, some security settings are made. In addition to being familiar with various php vulnerabilities, you can also configure php. ini
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;
After the php environment is deployed, some security settings are made. in addition to being familiar with various php vulnerabilities, you can also configure php. ini to reinforce the runtime environment of PHP, and PHP has been officially modified
Usage of the error_reporting () function in PHP (modifying PHP blocking errors ). I encountered a problem when I learned the CI framework today: APHPErrorwasencounteredSeverity: NoticeMessage: Undefinedvariable: The user usually outputs an undefined
The security practice of PHP, which must be known by system administrators, is an open source server scripting language and widely used. The Apacheweb server provides the convenience of accessing files and content through HTTP or HTTPS. Improper
Generally, if an undefined declared variable is output in the default PHP file, no error is reported, but an error is reported in the codeigniter framework, this is inconvenient for "lazy people" who want to integrate and add and modify pages. as a
PHP blocking methods for all kinds of exceptions and errors and alarms when fatal errors occur
In daily development, most people do this by turning on debug mode in the development environment and turning off debug mode in the product environment.
Compiling the source package requires./configure then compile a. so fileOne less error packetInstall packageNormal displayThe LS directory has a./configure fileQuerying module LocationsEditing a configuration fileEditing a configuration fileIncrease
The security practice of PHP, which must be known by system administrators, is an open source server scripting language and widely used. The Apacheweb server provides the convenience of accessing files and content through HTTP or HTTPS. Improper
I encountered a problem when I learned the CI framework today:
A php Error was encounteredSeverity: Notice
Message: Undefined variable: user
Generally, if an undefined declared variable is output in the default PHP file, no error is reported, but
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.