This article mainly describes how to configure PHP-FPM, common error resolution and PHP-FPM startup, shutdown, and restart.
The Nginx in the LNMP environment does not support PHP and requires the FASTCGI plug-in to process requests for PHP. and PHP
Allow crontab to automatically schedule rows of PHP
To use the crontab auto-dynamic PHP program, you can do this:
Method 11. Add the following in the first line of the PHP program:
#! /Usr/local/PHP/bin/PHP-Q
For example:
Plain textPHP:
#!
Create a user named php with no logon permission and a user group named php to create php users and user groups
First, create a user named php with no logon permission and a user group named php.
####### Create a php user and a php Group [root @
Install the PHP runtime environment text tutorial on Windows. 1. download related software httpd-2.2.15-win32-x86-no_ssl.msihttpd.apache.orgdownload.cgimysql-5.1.46-win32.msidev.mysql.comdownloadsphp-5.2.13-W 1. download related
First, PHP operating mode in Apache
PHP in the Apache a total of
three ways of working:CGI mode, fastcgi mode, Apache module DLL
The following are compared separately:
1. CGI mode compared to module mode:The difference between the two ways PHP
Several PHP server architectures are strongly recommended !!! I found a good article and introduced in detail several architectures of the current PHP Server. I specially reprinted it. I strongly recommend it !!? Nginx + PHP + PHP-FPM (FastCGI) on
In fact, if you only want to test the php operation rather than the server operation, you can use phpnow and so on, and download is available at home.
In fact, if you only want to test the php operation rather than the server operation, you can use
Compiling the source package requires./configure then compile a. so fileOne less error packetInstall packageNormal displayThe LS directory has a./configure fileQuerying module LocationsEditing a configuration fileEditing a configuration fileIncrease
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.