Deploy the php test environment on the ubuntu machine, and deploy php on the ubuntu machine. Deploy the php test environment on the ubuntu machine. deploy php on the ubuntu machine to deploy the php test environment I. deploy the environment Ubuntu11
Deploy PHP test environment on Ubuntu Machine, Ubuntu Machine deploys PHP
Deploying a PHP test environment on an Ubuntu machine
First, the deployment environment
UBUNTU11.10_X86_32, compile and install the appropriate software:
Install firstNginxMysqlInstall most common dependency packages (without affecting installation, but are prone to problems with the use environment)Freetype-devel libpng-devel gd-devel curl-devel (libcurl-devel) libxslt-develZlib-devel libxml2-devel
Nginx PHP-FPM Installation Configuration
Nginx itself can not handle PHP, it is just a Web server, when the request is received, if it is a PHP request, then sent to the PHP interpreter processing, and the results returned to the client.
Nginx is
Why do we use the LNMP architecture?
The advantages of Linux, PHP, MySQL, we do not have to say more.Nginx is a small and efficient Linux Web server software, is by Igor Sysoev for the Russian visit of the second rambler.ru site developed, has been
It is said that php5.4 is faster than the previous versions of PHP, so it is necessary to install to test (domestic more popular PHP programs such as Discuz and so on php5.4 support seems not too friendly, so webmaster friends or to be cautious
First, the preparatory work:Software default download under/USR/LOCAL/SRC, installed in the/app/local php, MySQL, nginx, the data directory, the installation sequence according to nginx->mysql->phpCompiling the toolset:Yum install-y wget gcc gcc-c++
Niche Blog: http://xsboke.blog.51cto.comNiche Q q:1770058260-------Thank you for your reference, if you have any questions, please contact
I. Introduction of Aide1. Role2. Principle3. InstallationIi. introduction of aide DocumentsThree, aide
System Environment: centOS6.3apache:httpd-2.4.2php:php-5.3.21
I. Installation of MCrypt
1. Download Libmcrypt,mhash,mcrypt installation package
Copy Code code as follows:
Libmcrypt-2.5.8.tar.gz
# wget
VPS System CentOS5.2Add a common accountThe location of the VPS quantum data http://www.111cn.net
Useradd Lrenwangpasswd Lrenwang
--------------------------------------------------------------------------------
One installation
My operating system is Ubuntu14.04, and other Linux systems operate in a similar process.The main software installed is nginx1.7+php5.4+mysql5.61. Create the necessary directoriessudo mkdir ~/setupsudo mkdir/opt/softwaresudo chmod 777/opt/software2.
Several Web servers have been configured recently to post the installation notes. There is no time like before, the article written as the system, please forgive me. Detailed configuration, you can see the previous old article:
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.