The pool of PHP-FPM
NIGNX can configure multiple virtual hosts, PHP-FPM also support the configuration of multiple pool, each pool can listen to a port, can also listen to a socket.
PHP-FPM Configuration Instructions:
Unlike
For PHP developers, once a product is put into use, the display_errors option should be turned off immediately to avoid hackers being hacked by the path, database connection, data table, and other information that these errors reveal. However, when
For PHP developers, once a product has been put into use, the display_errors option should be turned off immediately to avoid hacking attacks for information such as the path, database connection, data sheet, etc. that were revealed by these errors.
Fully understand the log function in PHP's Yii Framework and fully understand yii. Fully understand the log function in the PHP Yii Framework, and fully understand that the yiiYii page-level log is enabled in Main. add log segments in php and
A comprehensive explanation of the log function in the PHP Yii framework and a comprehensive explanation of yii
Yii page-level log EnabledIn Main. php, add,The following shows the page log array ('class' => 'weblogroute ', 'levels' => 'track', //
1 , log php error logsThe difference between display_errors and log_errorsDisplay_errorsError echo, commonly used in development mode, but many applications also forget to turn off this option in a formal environment. Error echo can expose a lot of
Yii page-level logs are enabled in Main. in php, the log segment is added and the page log array (classCWebLogRoute, levelstrace, level: tracecategoriessystem. db. * Only information about the database is displayed, including database connection and
This article mainly introduces the logs in the PHP Yii Framework. log analysis is the basis for daily website maintenance. Yii provides powerful log functions. For more information, see
Yii page-level log enabledIn Main. php, add,
The following
Comprehensive interpretation of the log function in the YII framework of PHP and a comprehensive interpretation of yii
Yii page-level log OpenIn main.php, the log segment is added,The following shows the page log array (' class ' = ' Cweblogroute '
Ziadoz a list of PHP resources that are maintained on GitHub, including libraries, frameworks, templates, security, code Analysis, logs, third-party libraries, configuration tools, Web tools, books, ebooks, classic blogs, and more. Bó Lè has
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.