PHP Version 7 installation configuration

Source: Internet
Author: User

Unzip the installation
Tar zxvf php-7.1.3.tar.gz
CD php-7.1.3

Installation
./configure \
--prefix=/usr/local/php \
--with-config-file-path=/usr/local/etc/\
--ENABLE-FPM \
--enable-inline-optimization \
--disable-debug \
--disable-rpath \
--enable-shared \
--ENABLE-SOAP \
--with-libxml-dir \
--WITH-XMLRPC \
--WITH-OPENSSL \
--with-mcrypt \
--with-mhash \
--with-pcre-regex \
--with-sqlite3 \
--with-zlib \
--enable-bcmath \
--with-iconv \
--WITH-BZ2 \
--enable-calendar \
--with-curl \
--WITH-CDB \
--enable-dom \
--ENABLE-PCNTL \
--ENABLE-EXIF \
--enable-fileinfo \
--enable-filter \
--with-pcre-dir \
--ENABLE-FTP \
--WITH-GD \
--with-openssl-dir \
--with-jpeg-dir \
--with-png-dir \
--with-zlib-dir \
--with-freetype-dir \
--ENABLE-GD-NATIVE-TTF \
--enable-gd-jis-conv \
--with-gettext \
--WITH-GMP \
--with-mhash \
--enable-json \
--enable-mbstring \
--enable-mbregex \
--enable-mbregex-backtrack \
--WITH-LIBMBFL \
--with-onig \
--ENABLE-PDO \
--WITH-MYSQLI=MYSQLND \
--WITH-PDO-MYSQL=MYSQLND \
--with-zlib-dir \
--with-pdo-sqlite \
--with-readline \
--enable-session \
--ENABLE-SHMOP \
--enable-simplexml \
--enable-sockets \
--ENABLE-SYSVMSG \
--enable-sysvsem \
--ENABLE-SYSVSHM \
--ENABLE-WDDX \
--with-libxml-dir \
--with-xsl \
--enable-zip \
--enable-mysqlnd-compression-support \
--with-pear \
--enable-opcache

There may be many components that are not installed, follow the prompts to install, and finally make && make install

mysql5.6 Yum Installation
wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
RPM-IVH mysql-community-release-el7-5.noarch.rpm
Run yum clean all && yum Makecache
Yum-y Install Mysql-community-server
Service mysqld Start
Start MySQL and change the password
Mysql-u Root
Use MySQL;
Update user Set Password=password ("Enter the root user password here") where user= ' root ';
Flush privileges;

PHP Version 7 installation configuration

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.