12.21 PHP-FPM's PoolPHP-FPM supports the definition of multiple pool, each of which can listen to different sockets or different TCP/IP;If Nginx has a number of different sites, then each site can use a pool;If all the sites are using the same pool,
The pool of PHP-FPM
Its pool is its pool.
[[email protected] etc]# cd /usr/local/php-fpm/etc/[[email protected] etc]# lspear.conf php-fpm.conf php-fpm.conf.default php.ini[[email protected] etc]# cat php-fpm.conf[global]pid =
11.28 restricting a directory from parsing PHPProhibit PHP parsing: To prevent the upload of harmful php files, and be executed, PHP may have dangerous functions, if the open upload permissions, will certainly be uploaded malicious Trojan files,
LNMP Architecture IntroductionMySQL Installation
Start the installation first go to the/USR/LOCAL/SRC directory, put all the installation packages unified into this directory for easy search
[[email protected] src]# cd /usr/local/src
11.32 PHP expansion Module Anninstalled• View PHP Modules/usr/local/php7/bin/php-mForget installation or requirements change, need to add moduleInstall a Redis module below (typically used as a cache for the lamp architecture)[[email protected] php-7
Nginx Anti-theft chain
Edit a virtual configuration file
[[email protected] ~]# vim /usr/local/nginx/conf/vhost/test.com.conf
Add the contents of the configuration
location ~*
ThinkPHP project CMS content management system development video tutorial [20 lessons] (3.02 GB), thinkphp3.02gb. ThinkPHP project CMS content management system development video tutorial [20 lessons] (3.02 GB), thinkphp3.02gbThinkPHP background:
11.14/11.15 Apache and PHP combined1, modify servernameThere are similar error prompts when you start Apache[[email protected] ~]#/usr/local/apache2.4/bin/apachectl restartAH00558:httpd:Could not reliably determine the server ' s fully qualified
9 Summary of PHP development experience
1. Primary Awareness: Security
Most of the time, we develop web programs that need to deal with databases, so it's almost possible to say that SQL injection is a problem that can't be avoided to discuss. And
thinkphp Project CMS Content Management System Development Video tutorial "20 Lessons" (3.02GB), THINKPHP3.02GB
thinkphp Background Introduction:thinkphp is a free, open-source, fast, simple object-oriented, lightweight PHP development framework
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.