Writing /share/Web/wiki/data/cache/6/6c6cf5370b22949df30acf43aae8950e.metadata failed
linux:安装php56
差别
这里会显示出您选择的修订版和当前版本之间的差别。
| 后一修订版 | 前一修订版 | ||
| linux:安装php56 [2019/10/30 19:49] – 创建 zhangguo | linux:安装php56 [2023/03/17 10:12] (当前版本) – 外部编辑 127.0.0.1 | ||
|---|---|---|---|
| 行 2: | 行 2: | ||
| - | CentOS | + | CentOS |
| 删除旧php包 | 删除旧php包 | ||
| 行 23: | 行 23: | ||
| 安装php5.6.x | 安装php5.6.x | ||
| <code bash> | <code bash> | ||
| - | 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 | + | 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 |
| </ | </ | ||
| 安装php-fpm | 安装php-fpm | ||
| <code bash> | <code bash> | ||
| - | yum install --enablerepo=remi --enablerepo=remi-php56 php-fpm | + | yum install --enablerepo=remi --enablerepo=remi-php56 php-fpm |
| </ | </ | ||
| 配置开机启动服务 | 配置开机启动服务 | ||
| <code bash> | <code bash> | ||
| - | centos6: | + | # |
| - | | + | chkconfig php-fpm on |
| - | chkconfig php-fpm on | + | # |
| - | # | + | / |
| - | / | + | |
| </ | </ | ||
| 行 45: | 行 44: | ||
| ps -ef | grep php | ps -ef | grep php | ||
| netstat -anp | grep 9000 | netstat -anp | grep 9000 | ||
| + | </ | ||
| + | |||
| + | |||
| + | <code bash> | ||
| + | / | ||
| + | / | ||
| </ | </ | ||
linux/安装php56.1572436148.txt.gz · 最后更改: 2023/03/17 10:12 (外部编辑)