共 2 篇文章 |
|
CentOS6.6下yum安装PHP的gd库失败?抱着试一试的心态,禁用remi源,运行 yum install php-gd ,跟预测的一样肯定报错,因为PHP安装的版本是5.6.10 ,现在yum默认找的是php5.3版本。yum --enablerepo=remi-php56 install php-gd.yum 源问题 选择的yum源和系统版本对应不上yum clean allrpm --rebuilddbyum update或者换一个yum源。 阅447 转3 评0 公众公开 17-06-23 12:03 |
centos7重启apache、nginx、mysql、php apache启动。systemctl stop httpd重启。systemctl restart httpd.systemctl stop mysqld重启。systemctl restart mysqld.systemctl start php-fpm停止。systemctl stop php-fpm重启。systemctl restart php-fpm.systemctl start nginx停止。systemctl stop nginx重启。systemctl restart nginx. 阅1604 转3 评0 公众公开 17-06-23 12:02 |