1. install necessary software sudoapt-getinstallnginxphp5-cliphp5-cgispawn-fcgipsmiscmysql-servermysql-clientphp5-mysqlmemcachedphp5-memcachephp5-curlphp5-gd2. Open the browser access: 127.0.0.1. The page indicating successful nginx installation is
Often see these things, but the information on the Internet to see not understand, which can be popular to say.
Concept understanding: cgi,fastcgi,php-cgi and PHP-FPM
Better give me a chestnut!
Thank you
Reply content:
Often see these things,
In the php-fpm mode, the optimization problem of eaccelerator is apache + fastcgi + php-fpm & lt ;? Php & nbsp; echo & nbsp; date (Ymd-His ). n; & nbsp; for & nbsp; ($ i0; & nbsp; I I & nbsp; & lt; & nbsp; 1000; & nbsp; $ I ++) & nbsp; eaccelerator
In the php-fpm mode, the optimization problem of eaccelerator is apache + fastcgi + php-fpm & lt ;? Php & nbsp; echodate (& quot; Ymd-His & quot ;). & quot; \ n & quot; & nbsp; for ($ I = 0; $ I & lt; 1000; $ I + eaccelerator optimization problems
1. Install nginx
sudo apt-get install nginx
All configuration files are in/etc/nginx, and the virtual host is configured in/etc/nginx/sites-available.
Program file in/usr/sbin/nginx
Logs are stored in/var/log/nginx.
The Startup Script nginx has been
Objective:When building nginx+php+memached (LPMN) under Linux, nginx.conf needs to be configured fastcgi,php need to install PHP-FPM extension and start the php-fpm daemon, Nginx can parse PHP script. So, what is the rationale behind such a
LIGHTTPD is an open source Web server software. The LIGHTTPD is safe, fast, industry-standard, adaptable and optimized for high-configuration environments. LIGHTTPD consumes less memory than other Web servers, and stands out from many Web servers in
Install PHP and face to the choice of mode, before is the choice of mod_php mode, because it is easier to install HA, today suddenly concerned about fastcgi this model, sepsis a handful of mod_php and fastcgi to find some of the choice and
Preface
When the nginx+php+memached (LPMN) is built under Linux, nginx.conf needs to be configured fastcgi,php need to install PHP-FPM to expand and start php-fpm daemon, Nginx can parse PHP script. So, what is the rationale behind this
Foreword every big promotion must pressure test, every big promotion must limit the flow, this estimate is the electric businessman's normal. Every time during the promotion period, the business traffic is more than 10 times times the usual, the
iis6+fastcgi PHP running timeout problem solution; There are errors during use the FastCGI process exceeded configured Request Timeout solution is as follows:
The fastcgi configuration file "Fcgiext.ini" is located under the directory
Windows Server 2008 and Windows Server 2003 are the current domestic mainstream server operating system, its build PHP environment is also a variety of, where iis+fastcgi+php+mysql installation is the simplest.
iis7.5 is installed in the Win7, Win8
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
For LNMP installations, each operational dimension may have been hundreds of times. Here's what I think is the simplest and most efficient installation scenario.
1. Upgrade Yum to the latest version:
The code is as follows
Copy
Originally from: http://www.ituring.com.cn/article/128439The PHP development environment under Windows builds--php thread-safe and non-threaded security, Apache version selection, and detailed five modes of operation.Today, in order to build a PHP
Configure Apache to run PHP article directory fastcgi[Hide]
Installing Apache
Installing fastcgi
Installing php5.2
Configure Apache to support PHP
Apache runs PHP by default with its own mod_php module, and now we describe
PHP Kernel Exploration: namespacesNamespaces are a special type of scopeThank you for reference or the original www.php-internal.com server June spent a total of 81.974 MS 3 database queries, and strive to provide you with this page. Try reading
Nginx + PHP5 (FastCGI) production environment running PHP dynamic program can exceed "700 Requests/sec" I production environment of two Nginx + PHP5 (FastCGI) server, run a number of general complex pure PHP dynamic program, from the Nginx log can
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.