Here the CentOS 5.5 under Nginx 1.2.3 and PHP 5.2.17, the other version of the installation method is similar.
First, create Nginx and PHP-specific users and user groups
The code is as follows
Copy Code
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
For php problems, enter localhostindex. php in the browser, but the entered location localhosttosoulindex. php is not displayed. For php problems, enter localhost/index. php in the browser, but the entered location localhost/tosoul/index. php is not
In the locally installed php and mysql environments, visit a page using localhost. The page is just a simple link to the mysql database and runs the following SQL statement to query and echo the data, it also uses a paging function that is very
Original: http://www.oicto.com/nginx_fastcgi_php_file_get_contents/Reference: http://os.51cto.com/art/201408/449205.htmThese two days have been engaged in Windows under the NGINX+FASTCGI file_get_contents request. I think, many students have
In PHP, localhost is used to connect to Mysql. In PHP, how to use localhost to connect to Mysql is unsuccessful. localhostmysql encountered a problem when compiling and installing the Linux environment for a colleague yesterday: the WEB server is
Locally installed PHP and MySQL environment, with localhost access to a page, the page is just a simple link MySQL database and the following SQL statement to execute the query and echo out the data, which also uses a popular online paging function,
In PHPMySQL, localhost and 127.0.01 are connected to the last section of Nginx and PHP-FPM permission security configuration about database connection failure.
When I configured WordPress earlier, I wanted to allow mysql to connect to tcp. google
The first time I installed bugfree today, it was okay to access localhostxampp. An error occurred when I accessed localhostbugfree. thank you? The error message is as follows: Objectnotfound! TherequestedURLwasnotfoundonthisserver.
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.