代码: 全选
<?php
phpinfo();
?>
下面是从apache2日志里截取的内容:
代码: 全选
[Sun Sep 18 07:53:52.113464 2016] [mpm_prefork:notice] [pid 1166] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.5 configured -- resuming normal operations
[Sun Sep 18 07:53:52.113496 2016] [core:notice] [pid 1166] AH00094: Command line: '/usr/sbin/apache2'
[Thu Sep 22 15:38:21.800690 2016] [mpm_prefork:notice] [pid 1166] AH00169: caught SIGTERM, shutting down
[Thu Sep 22 15:39:27.825075 2016] [mpm_prefork:notice] [pid 1156] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.5 configured -- resuming normal operations
[Thu Sep 22 15:39:27.837634 2016] [core:notice] [pid 1156] AH00094: Command line: '/usr/sbin/apache2'