Ext.: http://blog.csdn.net/field_yang/article/details/52401994This article mainly describes: How to configure PHP-FPM, common error resolution and PHP-FPM startup, shutdown and restart.Nginx in the LNMP environment does not support PHP and requires
Install the paths of each version of PHP plus the version number
such as--prefix=/usr/local/php-7.0.1
As below, I install the path
When installing, add each version of PHP-FPM to the service
Install-v-m755/php Source
Proxe Proxy Server:Installing the Memcached Service#yum-y Install gcc#tar-xf libevent-2.0.21-stable.tar.gz (memcached service library file)#cd libevent-2.0.21-stable#./configure#make && make InstallYou can directly link to the library files can also
A way to configure PHP-FPM as a service in Linux
2012-07-20 by Jason
1. Configure php-fpm.conf
Vi/usr/local/php/etc/php-fpm.conf
Php-fpm.pid directory must point to:/usr/local/php/var/run/php-fpm.pid 2. Copy php-fpm script to/etc/init.d
More please support: www.2cto.com
Recently Nginx is often 502, the best way to solve 502 is to restart PHP-FPM.Manual reboot is still a hassle, and the best thing to do is to throw it into the shell.
Vim restart-php-fpm.sh
#!/bin/sh
service= '
Preface:
We all know that Apache, as a good web server, occupies more than half of the market, and no one can replace it at present. However, apart from Apache, Apache is among the top web server software vendors, nginx has won the favor of many
The company is doing high-concurrency pressure measurement,Fastcgi,apc,ocache,opcache,After several considerations , the final consideration is to use Opcache, because as the Zend-opcache merged into the branch version of php5.5, the future of
Copy CodeThe code is as follows:
[ROOT@ABC lnmp]# Service php-fpm start
Starting PHP-FPM eaccelerator:could not allocate 67108864 bytes, the maximum size of the kernel allows is 33554432 bytes. Lower The amount of memory request or increase the
PHP Startup error
Copy CodeThe code is as follows:
[ROOT@ABC lnmp]# Service php-fpm start
Starting PHP-FPM eaccelerator:could not allocate 67108864 bytes, the maximum size of the kernel allows is 33554432 bytes. Lower The amount of memory request
Php accelerator (XCache), php implements LAMP in the form of modules
PHP introduction
PHP is a general-purpose server-side scripting language. it is mainly used for web development to implement dynamic web pages. it is also one of the earliest
PHP Email Mail
My little brother needs a safe way to send email in PHP ~ ~ ~Oneself is on the net to look for phpmailer use of, in own home run no problem, but change to another need to use of the network time can not use. Check the data to see if
SOLR
1. Solr server setup
LJava environment setup
Download linux JDK 6 from this website:
Http://java.sun.com/javase/downloads/index.jsp
After installing JDK, edit/ect/profile, add these code to the end of the file
JAVA_HOME =/usr/java/jdk1.6.0 _ 1
1. Download the php5.5.34 version of PHP
Extract
2. Create PHP-FPM Users
useradd-s/sbin/nologin php-fpm
3. CD php5.5.34
Perform:
4. Compile: "Reference to Amin Linux configuration Options"
./configure \--prefix=/usr/local/php
1. Installing OneinstackSelect LNMP mode, default installation php5.4, installation step reference: http://oneinstack.com/install/The options are as follows:
Install Nginx
Do not install Apache
Do not install Tomcat
Install
PHPSOAPwebservice connection timeout problem recently requires a php soap webservice to write a test demo code which is very simple.
I also read a lot of tutorials online and encountered a tricky problem.
Server service. php
PHP: webservice server, webservice Server1) Introduction to WebService technology
WebService is a remote call technology that supports cross-programming languages and cross-operating system platforms. Only through Web Service can the client and
1. Download the PHP installation package
wget http://php.net/distributions/php-5.6.31.tar.gz
By default, Nginx and PHP have a little feeling between them. Apache+php compiled after the module file is generated, and nginx+php need PHP to generate
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.