Linux under PHP7 installation command logging
wget http://cn2.php.net/distributions/php-7.0.5.tar.gzTar-ZXVFPhp-7.0. 5.Tar.GZCD PHP-7.0. 5./configure\--Prefix=/usr/Local/php\-- with-curl-- with-freetype-dir-- with-GD\-- with-gettext-- with-iconv-dir-- with-kerberos\-- with-libdir=Lib64-- with-libxml-dir-- with-mysqli\-- with-openssl-- with-pcre-regex-- with-pdo-mysql\-- with-pdo-sqlite-- with-pear-- with-png-dir\-- with-xmlrpc-- with-xsl-- with-zlib\--Enable-FPM--Enable-bcmath--Enable-libxml\--Enable-inline-optimization\--Enable-GD-native-ttf--Enable-mbregex\--Enable-mbstring--Enable-opcache\--Enable-pcntl--Enable-shmop\--Enable-soap--Enable-sockets\--Enable-sysvsem--Enable-xml\--Enable-zipError Configure:error:Cannot Find OpenSSL' s
yum install OpenSSL openssl-develconfigure:error:please reinstall the Libcurl distribution-easy . h should bes in
/include/curl/yum Install Curl Curl-develif Configure fails try--with-webp-dir=
If configure fails try --with-jpeg-dir=
configure: error: png.h not found.yum install libpng libpng-devel.....或者一次性把这些需要包全部安装yum -y install libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-develcp php.ini-development /etc/php7.inicd /usr/local/php/etc/php-fpm.conf.default /usr/local/php/etc/php-fpm.confcp /usr/local/php/etc/php-fpm.conf.default /usr/local/php/etc/php-fpm.confcp /usr/local/php/etc/php-fpm.d/www.conf.default /usr/local/php/etc/php-fpm.d/www.confln -s /usr/local/php/bin/php /bin/phpln -s /usr/local/php/sbin/php-fpm /bin/php7-fpmln -s /usr/local/php/bin/php /bin/php7
'). addclass (' pre-numbering '). Hide (); $ (this). addclass (' has-numbering '). Parent (). append ($numbering); for (i = 1; i <= lines; i++) {$numbering. Append ($ ('
'). Text (i)); }; $numbering. FadeIn (1700); }); });
The above describes the Linux PHP7 installation command record, including the contents of the LINUX,PHP7, I hope that the PHP tutorial interested in a friend helpful.