What is the RPC framework? If you summarize RPC in a nutshell: Remote Call Framework (Procedure call) What is remote invocation? Usually we call a method in PHP, such as a function method: Localadd (Ten, a), the implementation of the Localadd method
Install the Phalcon extension in PHP, after the successful compilation, first in the php.ini added extension=phalcon.so , but when the use php -m of PHP warning error, while php -v also errors, and then deleted in the php.ini extension=phalcon.so , /
Nginx and PHP-FPM restart script on the server Nginx and PHP are source code compilation and installation, does not support class & #20284; the previous nginx (start | restart | stop | reload. Self-help clothes and food. The following scripts are
Linuxvps cannot send emails first install sendmail software yuminstallsendmailetcinitdphp-fpmrestart to check if sendmail is running properly etcinitdsendmailstatus. if the running status is displayed properly, the sendmail software is installed. ..
The Software installation directory is/web/sofeSite source files are placed under directory/data/vhosts/and shared with Windows through Samba or VM implementationsVirtual Host configuration file (similar to Apache inside httpd-vhost.conf)The
Php-fpm process shutdown and restart script details, php-fpm details
Let's first understand what is php-fpm
The PHP-FPM is a PHP FastCGI manager and is only for PHP.
PHP-FPM is actually a patch of PHP source code, designed to integrate FastCGI
Installing Redis and PHP Redis extensions under Linux
Environment configuration: centos6.0 nginx/1.0.0 php/5.3.8 mysql/5.5.17
Step one, download Redis
can go to http://redis.io/to download the latest version
I'm using a Redis 2.8.11.
In May 3, the image processing software ImageMagick was released a serious 0-day vulnerability (CVE-2016-3714) through which attackers can execute arbitrary commands and finally steal important information to gain control of the server.For more
Preparatory work
Configure the firewall to turn on 80 ports, 3306 portsDelete the original iptables and add the appropriate configurationrm-rf/etc/sysconfig//etc/sysconfig/iptablesAdd the following content:################################ After
Before you can configure all memcached applications, you must prepare the LNMP environment (not to repeat the LNMP setup here)First Application scenario:Introduction to PHP memcache extensions: PHP has two memcache extensions: PHP
SendMail component not installed or started
1. Reinstall the SendMail component, I use the CentOS, install with the following command
Yum Install SendMail
2. Restart the PHP-FPM process using the following command
/ETC/INIT.D/PHP-FPM restart
3.
51, php-fpm Pool, php-fpm slow execution log, Open_basedir, PHP-FPM process ManagementFirst, the pool of PHP-FPMPool: Right. The right-most column of PS aux. It's the pond.# CD/USR/LOCAL/PHP-FPM/ETC# cat php-fpm.conf//supports defining multiple
LNMP one-key package default does not install the IMAP module, currently need to use, as long as the recompilation into the IMAP module, the following record steps:Cd/root/lnmp1.0-full/php-5.3.17/ext/imapYum-y Install Libc-client-develLn-s/usr/lib64/
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
Tips: Before you do this, make sure that you have CENTOS7 installed because all of the following operations are done under CENTOS7.1, first to stop the native firewall, and then configure Iptables, open 21/22/80/8080/3306 port, the specific
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.