When it comes to long links, you must be familiar with the continuous data interaction with a link, unlike those one-night stand-by services that require frequent opening and closing links, low efficiency and increased complexity of the business. In
Recently from Google Ananlytics found that the Web site slowed a lot, so think of PHP fpm slow log function.
Fortunately, the PHP-FPM provides a slow execution log, which dumps the call procedure that executes the slower script into the log.
Shell
The general default installation directory for PHP is:
/usr/local/php/
We use PHP-FPM to reload the configuration file (such as php.ini):
/USR/LOCAL/PHP/SBIN/PHP-FPM Reload
Note:/USR/LOCAL/PHP/SBIN/PHP-FPM also has other parameters, including:
Analysis shell script, learning method, this is actually in the LNMP environment to install Apache, realize LNMPA environment.
#!/bin/bash #定义PATH变量 path=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin #声明PATH为环境变量 Export PATH #
For advanced versions such as PHP5.5, this article requires the addition of--enable-opcache parameters at compile time
After compiling the installation, we begin to configure the Opcache
The code is as follows:
[Opcache]
Zend_extension = opcache.
This article mainly introduces the Linux batch backup server configuration file and directory methods, the need for friends can refer to the next
Function:1. Only in the backup machine, the remote server only need to allow the backup machine with
Because the company's environment is under Linux, so want to build on their own machines to imitate Linux environment
Environment for Linux +mssql+php +nginx+freetds
So I thought of Cygwin.
Go to http://www.cygwin.com download setup.exe
Then install,
Install PHP under Linux, source code installation, the total need to configure a lot of parameters. The common configuration parameters are listed here, and are explained in detail in Chinese. give you some reference./configure
Disclaimer: Some of the articles in this article refer to some articles on the web, and all the code in the article is tested on the CentOS 6.2 X84 64-bit system.
First, download the package
wget http://mozbuildtools.googlecode.com/files/libiconv-
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.