主要就传授 CentOS 下(其它 Linux 自然环境类似于…)校对加装 PHP 5.6.40(2022年5月23日正式发布),亲自动手从0 到 1,教你怎样校对加装 PHP 5.6.40。可能将许多同鞋单厢问到,PHP如今版都早已正式发布V7和V8了,为何我更要写如前所述5.6.40版的PHP加装实用性,虽然他们如前所述PHP研制的应用软件都明确要求如前所述ZendGuardLoader展开身份验证。有关怎样采用ZendGuardLoader请另行腾讯。

PHP源码浏览

依照前述须要浏览相关联的源码方可。虽然PHP官方网站在欧美国家,不合乎亚洲地区登记明确要求,难以在该文列举,请诸位同鞋另行腾讯关上PHP官方网站间接浏览相关联的版标识符方可。

名称

备注

Linux

CentOS 7.9.2009

作业系统升级至7系列最新版

PHP

PHP 5.6.40

如前所述PHP 5.6最终版校对

加装依赖包

yum-y install gcc gcc-c   make automake autoconfyum-y install libxml2-devel openssl-devel pcre-devel sqlite-devel bzip2-deve llibcurl-devel freetype-devel gd-devel readline-devel libmcrypt-devel libcurl-devel libxslt libxslt-devel

解压校对

./configure --prefix=/usr/local/php5 --with-config-file-path=/usr/local/php5/etc --with-config-file-scan-dir=/usr/local/php5/etc/php.d --with-curl=/usr/local/lib --with-freetype-dir=/usr/lib64 --with-gd --with-gettext --with-iconv-dir=/usr/local/lib --with-jpeg-dir=/usr/lib64 --with-kerberos --with-libdir=lib64 --with-libxml-dir=/usr/lib64 --with-mcrypt --with-mhash --with-mysql --with-mysqli --with-openssl --with-pcre-regex=/usr --with-pdo-mysql=shared --with-pdo-sqlite=shared --without-pear --with-png-dir=/usr/lib64 --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-zip --disable-rpath
make 
1.本站所有资源来源于用户上传和网络,如有侵权请邮件联系站长!
2.分享目的仅供大家学习和交流,您必须在下载后24小时内删除!
3.不得使用于非法商业用途,不得违反国家法律。否则后果自负!
4.本站提供的源码、模板、插件等其他资源,都不包含技术服务请大家谅解!
5.如有链接无法下载或失效,请联系管理员处理!
6.本站资源售价只是赞助,收取费用仅维持本站的日常运营所需!