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
VPS System CentOS5.2Add a common accountThe location of the VPS quantum data http://www.111cn.net
Useradd Lrenwangpasswd Lrenwang
--------------------------------------------------------------------------------
One installation
Debugging environment: Redhat9.0 Apache1.3.29 Mysql3.23.58 PHP4.3.4
Linux system installation I do not say, this is the basic skills, in fact, this article in similar redhat other Linux should also be universal, everyone as long as you master the
Recently, a lot of friends asked me about the installation process of PHP under Windows XP, just recently I successfully installed the PHP4.23 in a modular manner on my own machine. Since so many friends need it, I'll take the most common IIS and
Lnamp environment installation record will be used by Open source software: Apache [must, Web dynamic scripting server, do nginx reverse proxy 8080 Port]tengine [must, Web static file server 80 port]mysql [must be]php [must]1. Apache Install a.apr
Preface: cannot guarantee 100% pass, each system will be more or less different, If some of the dependencies are missing, please also forgive 1, install Apache need to compile and install the package, the official website
CentOS 5.5 Installation mysql5.1.57+php5.2.17 (FastCGI) +nginx1.0.1 high Performance Web server [reprint]September 05, 2012 ⁄linux Technology ⁄ a total of 12362 characters ⁄ font size small big ⁄ no comments ⁄ read the page As the production
Nginx Errorsupstream Response Cache Error
*2470578 an upstream response are buffered to a temporary file/var/cache/nginx/proxy_temp/6/10/0000010106 while reading up Stream
To fixvim/etc/nginx/nginx.conf# in HTTP part of Nginx.confproxy_
SOURCE Package:Httpd-2.2.24.tar.gzPhp-5.2.17.tar.gzcdMysql-5.1.73-linux-x86_64-glibc23.tar.gzThe rest of the dependencies are installed through the Yum source, recommending Epel and CentOS163
Compiling and installing PHP1. Go to the PHP website to download the source http://www.php.net/downloads.php, I download the version used is (php-5.4.8.tar.gz)2. Extract to/usr/src directory, execute command: sudo tar-zxvf php-5.4.8.tar.gz-c/usr/src3
PHP operating mode has 4 minutes:1) CGI Universal Gateway Interface (Common Gateway Interface))2) fast-cgi resident (long-live) type CGI3) CLI command line run (Interface)4) Web module mode (module mode for Web server running like Apache) 1.CGI
This article provides a detailed analysis of the PHP running mode. For more information, see
PHP running mode has four minutes:1) cgi Common Gateway Interface ))
2) fast-cgi resident (long-live) type CGI
3) cli Command Line Interface)
4) web module
How to compile and use apachemysqlphp source code. Linux: ubuntu12.04 today, phpmysql and apache are configured mainly in source code. apache is 2.4.2. php is 5.3.11. mysql is 5.1.62. linux: ubuntu 12.04.
The configuration of php mysql and apache is
PHP is a widely used open source server scripting language. Through HTTP or HTTPS, ApacheWeb allows users to access files or content. Incorrect configuration of the script language on the server may cause various problems. Therefore, PHP should be
CentOS installation Nginx + php to: http://www.excms.cn/manual/install-centos-nginx.html installation Nginx
Install the pcre library required by Nginx
Tar zxvf pcre-8.00.tar.gzCd pcre-8.00./ConfigureMake & make install cleanCd ..Install
Part of the content of PHP5.3.8 compiled by CentOS6 comes from the internet. download the following software package and select the latest one.
wget http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.14.tar.gzwget
Tip: If some graphics libraries, such as the gd Library, fail when you configure, you can add "-dir" after -- with-gd.
RedHatLinux
Build LAMP (Linux + Apache + Mysql + PHP) on the platform)I. installation environment:
System platform: Red Hat Linux9
Use CentOS6 to deploy the PHP development environment:
CentOS 6.5 32bit
Linux + Nginx + Mysql + PHP
Version and time: (as of the posting date of this post, all versions are the latest version)
Nginx-1.7.6
Mysql-5.6.21
PHP-5.6.1
1.
-- Enable-sysvsem includes SysV signals (supported by most Unix systems ). For more information, see the signal and shared memory documentation. -- Enable-sysvshm supports SysV shared memory (supported by most Unix systems ). For more information,
PHP has recently been installed on IIS and Apache2 servers in XP. Many friends have asked me about the PHP installation process in Windows XP, recently, I successfully installed PHP4.23 in a modular manner on my own machine. As many friends need it,
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.