LAMP installation ConfigurationConfiguring the EnvironmentOperating system: Redhat Enterprise as 4Packages installed: httpd2.0.4, mysql4.1,libxml2.6.16, zlib1.2.1.2,gd2.0.28, libpng1.2.7Description: The various installation instructions on the
1, install the following package for the upcoming PHP installation configuration system environment
[root@localhost~] #yum install libxml2 libxml2-developenssl openssl-devel bzip2 bzip2-devel libcurl libcurl-devel Libjpeglibjpeg-devel libpng
1. Apache
Download the source code package of Apache for Linux on the following page
Http://www.apache.org/dist/httpd /;
Save to the/home/XX directory. XX is a self-built folder. I created a WJ folder.
command list: Cd/home/WJ tar-zxvf httpd-2.
1. initialize the system environment to complete the system root, gcc compiling environment, php installation dependency, and system kernel optimization.
Copy codeThe Code is as follows: lokkit -- disabled -- selinux = disabled
Yum update-y
Yum
I. PHP installation and Setup can be run in a variety of operating systems. The current operating systems are mainly divided into two types: Windows series and UNIX series. There is a big difference between installing and setting the PHP runtime
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.PHP installation, configuration and extension summary:This article mainly summarizes the PHP installation, configuration, expansion of the
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 generally the request to send fastcgi
Two.) Install MySQLInstall mysql-5.0.45.tar.gz, the following is the overall compilation file1.-static 13%--with-client-ldflags=-all-static--with-mysqld-ldflags=-all-staticStatic linking improves performance by 13%2.-PGCC 1%cflags=
Recently took time to test on the virtual machine. The latest version of the lamp of the consolidation of the installation, is to consolidate the previous blog, the following content in the CENTOS6.3 (Install minimal desktop and the default
PHP official website www.php.netCurrent mainstream version is 5.6/7.1First, PHP5 installation cd /usr/local/src/ wget http://cn2.php.net/distributions/php-5.6.30.tar.gz tar zxf php-5.6.30.tar.gz cd php-5.6.30 ./configure --prefix=/usr/local/php
1 "Download PHP source code#wget Http://cn2.php.net/get/php-5.4.30.tar.gz/from/this/mirrorThe version of official website 5.2 does not seem to offerTo PHP-5.2.13-FPM php-5.2.13.tar.gz compatible to my Baidu share address download
Installation of PHP and PHP-FPM
Download the installation package
Download PHP source package from Www.php.net official website, here is php-5.2.17.tar.bz2,Download the corresponding PHP-FPM source package from
Application Environment
LNMP environment, the current PHP version 5.3.8, encountered an application requirements to support only PHP 5.2.x, but also want to maintain the existing application or PHP 5.3.8. That is, two versions of PHP are required
This article source: https://wangyan.org/blog/install-php-fpm-from-source.html
From PHP 5.3.3, you can directly use PHP-FPM, no longer need to patch. Previously had written "Linux compiled from the source code to install PHP 5", but in the mod_php
If you need to use PHP to connect to a Microsoft SQL Server 2005 database on a Linux system, our common way to connect to a database is to use ODBC to connect.
FreeTDS provides an open source client for the TDS protocol for Linux systems.
Install FreeTDS
FreeTDS is the Linux/unix next set of software development kits for implementing Microsoft SQL Server and Sybase's tabular DataStream Protocol protocol. With FreeTDS, you can connect SQL Server and Sybase databases under Linux/unix.
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
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.