[root@AY1306181842373604deZ ~]# service httpd restart
Stopping httpd: [FAILED]
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
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
这个问题:Invalid command 'php_admin_value', perhaps misspelled or defined by a module not included in the server configuration,我在部署 http://www.banwagongyouhuima.com时也遇到了,解决方法是:
在httpd.conf里加入下面语句:(LoadModule部分的最后一行)
LoadModule php5_module modules/libphp5.so