CentOS 6.7 compilation and installation of LAMP
CentOS 6.7 compilation and installation of LAMP
I. Prepare the environment and Software Package
[Root @ bkjia ~] # Cat/etc/RedHat-releaseCentOS release 6.7 (Final)[Root @ bkjia ~] # Uname-rm2.6.32-573.
Today, I re-installed PHP under Fedora16. By the way, I will try 5.4. I chose the latest stable version for most of the software involved. Note that a compilation parameter of PHP is -- with-gd = shared. You cannot replace shared with the
Lnmp (Linux-nginx-mysql-PHP), this article will try to compile lnmp on centos7.0. The full text basically uses manual compilation and deployment... relying on Yum helped me install GCC and automake .. it takes a long time to write this thing... nima
Under phpora16, PHP 5.4 Compilation and Installation notes are reinstalled today. By the way, I will try 5.4. most of the software involved during this period is the latest stable version. Note that a compilation parameter of PHP is -- with-gd =
CentOS6.8 compile and install LNMP and centos6.8 compile lnmp
Idea: select an appropriate installation package based on the Linux System and the company's website system information.
1. View System Information
# Uname-a # view kernel/OS/CPU
Compile and install the LAMP environment with source code and configure multiple virtual hosts Based on Domain Name access
Lab environment and software version:
CentOS version: 6.6 (2.6.32.-504. el6.x86 _ 64)Apache version: apache2.2.27Mysql version:
Deploying a PHP test environment on an Ubuntu machineFirst, the deployment environmentUBUNTU11.10_X86_32, compile and install the appropriate software: nginx+mysql+php.Second, software Installation2.1 Software DownloadsLibiconv-1.14.tar.gzLibmcrypt-2
The PHP version that comes with OSXYosemite10.10.3 is 5.5.20. thanks to the tossing spirit and the controllability of the installation details, the author adds a new version of PHP 5.6.8 to the system by compiling and installing it, some common
The original string./configure--prefix=/usr/local/php--with-apxs2=/usr/local/apache2/bin/apxs--enable-zip--enable-calendar-- With-mysql=/usr/local/mysql--with-pdo-mysql=/usr/local/mysql--with-iconv=/usr/local/libiconv--with-curl=/usr/
Install nginx + php5.3 on Centos. Click here to view details. # View system version information catetcissueuname-a # set the time zone rm-rfetclocaltimeln-susr#zoneinfoasiashanghaietclocaltime # Use ntpdate to synchronize time yuminstall-yntpntpdate-
System Environment: centOS6.3
apache:httpd-2.4.2
php:php-5.3.21
I. Installation MCrypt
1. Download the Libmcrypt,mhash,mcrypt installation package
Copy the Code code as follows:Libmcrypt-2.5.8.tar.gz# wget
When compiling mcrypt under Mac, I always get an error.First hintRm:conftest.dSYM:is a DirectoryChecking if gcc supports-fno-rtti-fno-exceptions ... yesChecking for GCC option to produce PIC ...-fno-common-dpicChecking if gcc PIC
Welcome to the Linux version of XAMPP (x86 compatible processor edition)By the way: The software was formerly known as LAMPP, but to avoid misunderstanding, we name it the "Linux version of XAMPP ". So, if you're looking for lampp, you're in the
Installation Environment: centos6.5,nginx1.6.2,php-5.5.18,mysql5.5.38 Install the Epel source before installing the software, you can install Libmcrypt,mhash,mcrypt and other PHP extensions directly with Yum. Installing Nginx Resolve dependencies,
Minimize the installation of the system first.
First, the system agreement
Software source code Package storage location
/usr/local/src
Source Package compilation Installation Location (prefix)
Description: See it all again before you start the installation * * *Get PHP Source Package Http://cn2.php.net/get/php-5.5.10.tar.gz/from/this/mirrorWgetInstalling Libxml2:wget
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.