3) Install Apache
If you use the system Apache + PHP + MySQL
can use
yum-y install httpd php mysql php-mysql php-pdo php-mcrypt
If you would like to compile Apache yourself, download the latest version of Apache to apache.org, and then compile the installation
./configure--prefix=/usr/local/apache--enable-so
Make
Make install
Compile PHP and related components to download php5.2 latest version of Www.php.net
./configure--prefix=/usr/local/php--with-apxs2=/usr/local/apache2/bin/apxs--with-mysql=/usr/local/mysql
(assuming that the MySQL was previously compiled in/usr/local/mysql, if the system with MySQL can be--with-mysql=/usr)
4) Compiling Nginx
Download Nginx (www.nginx.net) and compile
./configure--prefix=/usr/local/nginx && make && make install
5) Compiling MySQL
Download (dev.mysql.com) and compile MySQL
./configure--prefix=/usr/local/mysql && make && make install
6 Detail performance adjustment and website planning
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.