Vps migration is a problem that many webmasters may encounter, below I will sort out and record some problems encountered by a webmaster during the migration of vps machines and the data migration commands to avoid convenient and direct use.
Because
PHP warning: PhP startup: Unable to load dynamic library '/home/admin/apps/PhP5/lib/PHP/extensions/no-debug-non-zts-20060613/GD. so '-libpng15.so. 15: cannot open shared object file: no such file or directory in unknown on line 0
[Thu Oct 13 17:47:
In high concurrency, apache frequently restarts several servers, all of which are windows.
I configured the maximum concurrency of apache on each server, that is, ThreadsPerChild 1000
In order to optimize the original program in the past few days,
Go PHP-FPM High Load skills
?
Turn HTTP://WWW.187299.COM/ARCHIVES/CATEGORY/NGINX/PAGE/4
Http://www.zhiyuanjun.net/?p=9
In the high concurrency of nginx good performance, it is equipped with a NGINX+PHP-FPM to run online agent program, is in
This article only introduces the optimization method of PHP-FPM. However, when used in combination with nginx, optimizing one of them separately does not play a particularly important role, at the same time, nginx needs to be optimized. for nginx
: Http://redis.io/download to download the latest version of the document. 1. Download and installsudo wget http://download.redis.io/releases/redis-3.2.9.tar.gzsudo tar-zxvf redis-3.2.9.tar.gzsudo cd redis-3.2.9sudo makesudo make
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
Nginx is a Web server, so the Nginx access log only to access the page records, there will be no PHP error log information.Nginx to the PHP request to the PHP-FPM fastcgi process to handle, the default PHP-FPM will only output PHP-FPM error message,
Because before the music valley gathered to find the nest, the official website is hung, Online said to run, although someone had contacted me before I said there are their companies take over, but when there are problems in contact, but can not
Today to the Company by convention to check the status of all servers, found that the memory of a server is much larger than usual, the following figure
Immediately QQ asked the next program development whether the last 1-2 days changed something,
This article brings you the content is about PHP extension xhprof How to analyze the performance of the project, there is a certain reference value, the need for friends can refer to, I hope to help you.
I. BACKGROUND
The project is coming soon,
1 Install php,mysql before installingphp5.5.29 installation: http://blog.csdn.net/clevercode/article/details/52198698.mysql-5.5.27:http://blog.csdn.net/clevercode/article/details/45499231.2 Downloads2.1 This installation of the resource bundle,
This time, because of the work, it needs to be developed under Linux. The recommended environment is ubuntu14+nginx+php+mysql. After the environment is set up, install git, install the IDE, feel the MySQL command interface trouble and installed a
These two days need to build nginx and PHP environment on the Ubuntu14.04, the process of configuration in the fastcgi of the problem spent a lot of time, the online data mostly in disrepair, so decided to record the whole process, share to everyone.
What is rpc? What are the popular rpc frameworks in php. Better layout: www. zybuluo. comphpernote76641 what is the rpc framework? answer the first question: what is the RPC framework? In one sentence, RPC is called RemoteProcedureCall. What is
PHP program configuration file (best ?) The most primitive approach to practice
When writing a php program, the connection information of the database and cache will be directly put in the config. php file. This method has two drawbacks: 1. during
Lnmp modify php. the ini configuration needs to be modified in the lnmp system. ini configuration, first use the find command to find the php. location of ini: find-namephp.ini search result: usrlocalphpetcphp. ini then run the VI command to modify:
Configure nginx + php + fastcgi on Ubuntu, nginxfastcgiIn the past two days, we need to build the nginx and php environments on Ubuntu14.04. During the configuration process, we spent a lot of time on fastcgi issues. Most of the online materials
Lamp Integration Mode 2Requirements: (1) Three separate from the host;(2) A virtual host is used to provide phpmyadmin; Another virtual host is used to provide WordPress;(3) Install XCache speed up PHP accessTest machine
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.