Some PHP-FPM problems have been encountered in the previous project: Because some of the site's interface, in particular cases of slow response (1-2 minutes), the delay does not end, resulting in more and more php-fpm, and finally reached 127, the
Used to play MySQL, from this week began to contact MongoDB, and use PHP to check a wave of MongoDB. In fact, and MySQL almost, just changed a database, so the query statement writing is not the same. Here's a quick summary.
First, MongoDB
MySQL is
Install PHP5
First, download the latest PHP 5.3 Windows version from http://www.php.net/downloads.php, extract it to C:\php5, and rename the php.ini-recommended in the zip package to PHP.ini, and then turn on modifying several options:
Copy
1. After installing the system, turn on the sshd, close the firewall (otherwise the link is not access to Apache) shut down the security system SELinux (otherwise reported 403 access page error)Permanently effective after rebootChkconfig sshd on
The topic of old growth talk, in the interview will be the ability to assess, I personally think that the problem-solving ability is ranked first, higher than the learning ability priority. The ability to solve problems can not only see the
Sometimes, a Linux server running Nginx, php-cgi (PHP-FPM) Web services suddenly has a system load that is viewed with the top command, with a lot of php-cgi process CPU usage approaching 100%. Later, I tracked and found that this kind of situation
Installing the Build Environment
Now you may have at least one installed PHP and have used it to develop web-based applications. You may have downloaded a Win32 from Php.net to build and run on IIS or Windows version of Apache, or a package
Project requirements to achieve a free ticket to the function, involving high concurrency problems, research for a few days, record down, welcome workers throw Bricks ~ ~The entire project is the Php+nginx+mysql architecture, since PHP is blocked
How to design a Web database:1) Consider the actual object to be modeled.2) Avoid saving redundant data.3) Use atomic column values (only one data is stored for each property of each row). )4) Select a meaningful key.5) Consider the need to ask the
Installing PHPPHP-FPMFirst update the CENTOS7 system, the system software upgrade, here does not upgrade the kernel.// with root permissions, note that this uses upgrade instead of update (it will upgrade the kernel, which we do not need here)Yum
Brief introduction
Bytecode caching is not a new feature of PHP, and there are many independent extensions that can implement caching, such as PHP cache (APC), Eaccelerator,ioncube and XCache, and so on. But so far, these independent extensions have
Method Introduction1.sadd ()Description: Adds a value to a key. If this value is already in this key, it returns false. Parameter: Key value return value: Successful return true, failed false2.delete ()Description: Delete the specified key parameter:
0x00 test environment
Operating System: CentOS6.5 Web server: Nginx1.4.6 Php version: Php5.4.26
0x01 Nginx Introduction
Nginx itself cannot process PHP. It is only a web server. After receiving the request, if it is a php request, it is sent to the
PHP Cache and Optimization combatCaching principle:When the user requests a PHP program, the server's PHP engine to parse PHP according to the client request, and compile the code as a specific operation code, by default, PHP after parsing will
Because in the "collocation centos6.5+nginx+php5.6" article did not mention some of Nginx's common configuration, write a continuation of Nginx support PHP configuration from the Iteye article, http://ears.iteye.com/blog/ 1896542 thanks in this 1.
One. Nginx InstallationNginx can be installed using the default packages of each platform, this article is to introduce the use of source code compilation installation, including specific compilation parameters information.Before the official start,
Why are there cross-domain issues:The reason why Ajax needs "cross-domain" is the browser's homologous strategy. That is, the Ajax of a page can only get data from the same source or the same domain as the page.How to call "homology" or "Same domain"
Recently, php servers are unable to provide services after frequent overload. As long as a request is sent, the php process responsible for processing the request occupies 100% of the cpu. The original load balancing policy is that once a machine's
improve PHP performance with Opcache wdd2007wdd20071. 6k January 29 Release recommendation0Featured Collections5Collection2. 3k browsing Opcache improves PHP execution speed by caching and optimizing the opcode. In PHP5.5、5.6The Opcache is built in
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.