今天我apache2
突然没跑了。
cat /var/www/html/info.php
<?php
echo phpinfo();
?>
没有输出,根本没有错误信息,http://127.0.0.1/info.php
在 Firefox 中输入时没有结果。
cat /var/log/apache2/error.log
Nothing!!
我的怎么了apache2
?
service apache2 restart
然后http://127.0.0.1/info.php
在火狐浏览器中输入,
cat /var/log/apache2/error.log
[Fri Sep 18 16:06:54.065576 2015] [mpm_event:notice] [pid 16124:tid 139930869675904] AH00491: caught SIGTERM, shutting down
[Fri Sep 18 16:06:55.182391 2015] [mpm_event:notice] [pid 20296:tid 139659549255552] AH00489: Apache/2.4.10 (Debian) configured -- resuming normal operations
[Fri Sep 18 16:06:55.182555 2015] [core:notice] [pid 20296:tid 139659549255552] AH00094: Command line: '/usr/sbin/apache2'
No output,no error info ,no result in the Firefox as before.