系统管理 》命令运行 里执行
service nginxd restart
service httpd restart
[root@localhost ~]# service nginxd restart
Stopping nginx: nginx: [warn] conflicting server name "cs.34mei.com" on 0.0.0.0:80, ignored
[ OK ]
Shutting down php_fpm . done
Starting nginx: nginx: [warn] conflicting server name "cs.34mei.com" on 0.0.0.0:80, ignored
[ OK ]
Starting php_fpm done
[root@localhost ~]# service httpd restart
httpd: unrecognized service
[root@localhost ~]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: Syntax error on line 9 of /www/wdlinux/httpd-2.2.24/conf/vhost/00000.default.conf:
Invalid command 'php_admin_value', perhaps misspelled or defined by a module not included in the server configuration
[FAILED]
[root@localhost ~]#
Stopping httpd: [FAILED]
Starting httpd: httpd: Syntax error on line 54 of /www/wdlinux/httpd-2.2.22/conf/httpd.conf: Cannot load /www/wdlinux/httpd-2.2.22/modules/libphp5.so into server: libmhash.so.2: cannot open shared object file: No such file or directory
[FAILED]
Stopping httpd: [FAILED]
Starting httpd: httpd: Syntax error on line 54 of /www/wdlinux/httpd-2.2.22/conf/httpd.conf: Cannot load /www/wdlinux/httpd-2.2.22/modules/libphp5.so into server: libmhash.so.2: cannot open shared object file: No such file or directory
Restarting nginxd (via systemctl): Job for nginxd.service failed because the control process exited with error code. See "systemctl status nginxd.service" and "journalctl -xe" for details.
[失败]