LNMP Environment Construction-php Chapter

Source: Internet
Author: User
Tags mcrypt
One. SOURCE Installation

./configure--prefix=/usr/local/php--with-config-file-path=/usr/local/php/etc--with-mysql=/usr/local/mysql-- With-mysql-sock=/tmp--with-libxml-dir--with-gd--with-jpeg-dir--with-png-dir--with-freetype-dir--with-iconv-dir --with-zlib-dir--with-mcrypt=/usr/local/libmcrypt--enable-soap--enable-gd-native-ttf--enable-ftp-- Enable-mbstring--enable-exif--enable-zend-multibyte--disable-ipv6--enable-fastcgi--enable-fpm--with-vpx-dir=/ Usr/local/gd2
Make && make install


./configure--prefix=/usr/local/php--with-config-file-path=/usr/local/php/etc--datarootdir=/opt/data/php-- ENABLE-FPM--with-mysql--with-mysqli--with-zlib--enable-zip--with-gd--enable-mbstring--with-gd--with-mcrypt-- With-jpeg-dir--with-freetype-dir--with-xmp-dir--with-mcrypt--with-mhash--with-bz2--with-openssl

No, it's going to work.

Copyright NOTICE: This article for Bo Master original article, without BO Master permission cannot reprint |copyright©2011-2015, Kallen Ding, All rights Reserved.

  • Related Article

    Contact Us

    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.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.