0
我在CentOS 7.2
, 安装PHP 7.1
启动后,通过该命令启动php
:PHP7.1不能centos7.2
# systemctl start php-fpm
错误:
Failed to start php-fpm.service: Unit php-fpm.service failed to load: No such file or directory.
搜索php-fpm
与find
指令:
[[email protected] ~]# find/-name php-fpm
/etc/opt/remi/php71/sysconfig/php-fpm //370Bytes
/opt/remi/php71/root/usr/sbin/php-fpm //4.21MB
/var/opt/remi/php71/log/php-fpm //folder
/var/opt/remi/php71/run/php-fpm //folder
的php-v
结果:
-bash: php: command not found
我该怎么办?
'CentOS 7.2'自带'php-5.x' - 你从哪里安装'php71'? – alindt