Installing PHP7.1.9 issues

Source: Internet
Author: User
Tags fpm install openssl soap mcrypt

CentOS 7 installs the PHP 7.1.9 Process Validation command./configure--prefix=/usr/local/php--WITH-CONFIG-FILE-PATH=/USR/LOCAL/PHP/ETC-- With-mysql=/usr/bin/mysql--enable-bcmath--with-curl--enable-soap--enable-mbstring--with-mcrypt--WITH-GD-- With-openssl--enable-sockets--enable-fastcgi--ENABLE-FPM Error Summary Please reinstall LIBXML2-yum-y Install Libxml Reinstall OpenSSL-yum-y install openssl*-yum-y install curl-devel Please reinstall mcry PT---CENTOS7 The default Yum source does not have a Libmcrypt-devel package only with the help of the Epel yum source, so install Epel First, then install Libmcrypt sequentially

Yum Install-y epel-release
Yum Install-y libmcrypt-devel

Use./configure--prefix=/usr/local/php--with-config-file-path=/usr/local/php/etc--with-pdo-mysql=/usr/bin/ MySQL--enable-bcmath--with-curl--enable-soap--enable-mbstring--with-mcrypt--with-gd--with-openssl-- Enable-sockets--enable-cgi--ENABLE-FPM

No found Mysql_config

View MySQL installation status

Rpm-qa|grep MySQL

If you do not install the Mysql-devel installation yum install Mysql-devel there is

Pdo_mysql Configure failed, MYSQL 4.1 needed

----->--with-pdo-mysql=mysqlnd

./configure--prefix=/usr/local/php--with-config-file-path=/usr/local/php/etc--with-pdo-mysql=mysqlnd-- Enable-bcmath--with-curl--enable-soap--enable-mbstring--with-mcrypt--with-gd--with-openssl--enable-sockets-- enable-cgi--ENABLE-FPM

Installing PHP7.1.9 issues

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.