<\/h1> \n \n \n \u5220\u9664\u65e7php\u5305<\/p> \n
\n yum remove php.x86_64 php-cli.x86_64 php-common.x86_64 php-gd.x86_64 php-ldap.x86_64 php-mbstring.x86_64 php-mcrypt.x86_64 php-mysql.x86_64 php-pdo.x86_64 <\/pre> \n <\/div> \n \u914d\u7f6eepel\u6e90<\/p> \n
\n yum install -y epel-release\r\nwget -O \/etc\/yum.repos.d\/epel.repo http:\/\/mirrors.aliyun.com\/repo\/epel-7.repo<\/span><\/pre> \n <\/div> \n \u914d\u7f6eremi\u6e90<\/p> \n
\n rpm -ivh http:\/\/rpms.famillecollet.com\/enterprise\/remi-release-7.rpm<\/pre> \n <\/div> \n \u5b89\u88c5php5.6.x<\/p> \n
\n yum install --enablerepo=remi --enablerepo=remi-php56 php php-opcache php-devel php-mbstring php-mcrypt php-mysqlnd php-phpunit-PHPUnit php-pecl-xdebug php-pecl-xhprof<\/pre> \n <\/div> \n \u5b89\u88c5php-fpm<\/p> \n
\n yum install --enablerepo=remi --enablerepo=remi-php56 php-fpm <\/pre> \n <\/div> \n \u914d\u7f6e\u5f00\u673a\u542f\u52a8\u670d\u52a1<\/p> \n
\n systemctl restart php-fpm\r\nsystemctl enable php-frm<\/span><\/pre> \n <\/div> \n \u67e5\u770b\u662f\u5426\u5b89\u88c5\u6210\u529f<\/p> \n
\n ps -ef | grep php\r\nnetstat -anp | grep 9000<\/span><\/pre> \n <\/div> \n <\/div> \n <\/div> \n<\/div>","orderid":"0","title":"CentOS 7\u4f7f\u7528yum\u5b89\u88c5PHP5.6","smalltitle":"","mid":"0","fname":"PHP","special_id":"0","bak_id":"0","info":"0","hits":"58","pages":"1","comments":"0","posttime":"2019-09-19 11:10:31","list":"1568862631","username":"admin","author":"","copyfrom":"","copyfromurl":"","titlecolor":"","fonttype":"0","titleicon":"0","picurl":"https:\/\/www.cppentry.com\/upload_files\/","ispic":"0","yz":"1","yzer":"","yztime":"0","levels":"0","levelstime":"0","keywords":"CentOS<\/A> \u4f7f\u7528<\/A> yum<\/A> \u5b89\u88c5<\/A> PHP5.6<\/A>","jumpurl":"","iframeurl":"","style":"","template":"a:3:{s:4:\"head\";s:0:\"\";s:4:\"foot\";s:0:\"\";s:8:\"bencandy\";s:0:\"\";}","target":"0","ip":"14.17.22.32","lastfid":"0","money":"0","buyuser":"","passwd":"","allowdown":"","allowview":"","editer":"","edittime":"0","begintime":"0","endtime":"0","description":"CentOS 7\u4f7f\u7528yum\u5b89\u88c5PHP5.6","lastview":"1706606497","digg_num":"0","digg_time":"0","forbidcomment":"0","ifvote":"0","heart":"","htmlname":"","city_id":"0"},"page":"1"}
\n
\u5220\u9664\u65e7php\u5305<\/p> \n
\n
yum remove php.x86_64 php-cli.x86_64 php-common.x86_64 php-gd.x86_64 php-ldap.x86_64 php-mbstring.x86_64 php-mcrypt.x86_64 php-mysql.x86_64 php-pdo.x86_64 <\/pre> \n <\/div> \n\u914d\u7f6eepel\u6e90<\/p> \n
\nyum install -y epel-release\r\nwget -O \/etc\/yum.repos.d\/epel.repo http:\/\/mirrors.aliyun.com\/repo\/epel-7.repo<\/span><\/pre> \n <\/div> \n
\u914d\u7f6eremi\u6e90<\/p> \n
\nrpm -ivh http:\/\/rpms.famillecollet.com\/enterprise\/remi-release-7.rpm<\/pre> \n <\/div> \n\u5b89\u88c5php5.6.x<\/p> \n
\nyum install --enablerepo=remi --enablerepo=remi-php56 php php-opcache php-devel php-mbstring php-mcrypt php-mysqlnd php-phpunit-PHPUnit php-pecl-xdebug php-pecl-xhprof<\/pre> \n <\/div> \n\u5b89\u88c5php-fpm<\/p> \n
\nyum install --enablerepo=remi --enablerepo=remi-php56 php-fpm <\/pre> \n <\/div> \n\u914d\u7f6e\u5f00\u673a\u542f\u52a8\u670d\u52a1<\/p> \n
\nsystemctl restart php-fpm\r\nsystemctl enable php-frm<\/span><\/pre> \n <\/div> \n
\u67e5\u770b\u662f\u5426\u5b89\u88c5\u6210\u529f<\/p> \n
\nps -ef | grep php\r\nnetstat -anp | grep 9000<\/span><\/pre> \n <\/div> \n <\/div> \n <\/div> \n<\/div>","orderid":"0","title":"CentOS 7\u4f7f\u7528yum\u5b89\u88c5PHP5.6","smalltitle":"","mid":"0","fname":"PHP","special_id":"0","bak_id":"0","info":"0","hits":"58","pages":"1","comments":"0","posttime":"2019-09-19 11:10:31","list":"1568862631","username":"admin","author":"","copyfrom":"","copyfromurl":"","titlecolor":"","fonttype":"0","titleicon":"0","picurl":"https:\/\/www.cppentry.com\/upload_files\/","ispic":"0","yz":"1","yzer":"","yztime":"0","levels":"0","levelstime":"0","keywords":"CentOS<\/A> \u4f7f\u7528<\/A> yum<\/A> \u5b89\u88c5<\/A> PHP5.6<\/A>","jumpurl":"","iframeurl":"","style":"","template":"a:3:{s:4:\"head\";s:0:\"\";s:4:\"foot\";s:0:\"\";s:8:\"bencandy\";s:0:\"\";}","target":"0","ip":"14.17.22.32","lastfid":"0","money":"0","buyuser":"","passwd":"","allowdown":"","allowview":"","editer":"","edittime":"0","begintime":"0","endtime":"0","description":"CentOS 7\u4f7f\u7528yum\u5b89\u88c5PHP5.6","lastview":"1706606497","digg_num":"0","digg_time":"0","forbidcomment":"0","ifvote":"0","heart":"","htmlname":"","city_id":"0"},"page":"1"}