关闭灯中的输出缓冲php
我想要一种关闭输出缓冲的方法。我尝试了关闭灯中的输出缓冲php,php,apache,lamp,output-buffering,Php,Apache,Lamp,Output Buffering,我想要一种关闭输出缓冲的方法。我尝试了flush()和ob函数,但没有成功。在myetc/php5/apache2/php.ini中output\u buffering=4096的值 当我将其更改为Off并重新启动Apache时,它无法重新启动 error in log file is: [Sat May 31 15:48:26.853420 2014] [mpm_prefork:notice] [pid 1277] AH00169: caught SIGTERM, shutting down
flush()
和ob函数,但没有成功。在myetc/php5/apache2/php.ini中
output\u buffering=4096的值
当我将其更改为Off并重新启动Apache时,它无法重新启动
error in log file is:
[Sat May 31 15:48:26.853420 2014] [mpm_prefork:notice] [pid 1277] AH00169: caught SIGTERM, shutting down
[Sat May 31 17:23:30.461926 2014] [mpm_prefork:notice] [pid 1270] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4 configured -- resuming normal operations
[Sat May 31 17:23:30.484232 2014] [core:notice] [pid 1270] AH00094: Command line: '/usr/sbin/apache2'
它没有运行。你无视phpmyadmin。查找/etc/apache2/httpd.conf这是错误的文件或hosed。它可能位于/user/local/etc/中,您可以使用$httpd-v检查您的设置 也请阅读本页。
注意-e选项,您可以更改日志级别,这可能会为您提供更多信息。e、 g.httpd.conf中的日志级调试。但是你有没有通过ps auxww | grep httpd验证过它没有运行?文件/etc/phpmyadmin/httpd.conf是空的,/etc/apache2/httpd.conf包含一行ServerName localhost。请告诉我如何更改日志级别?ps auxwww | grep httpd生成了一行,我想它正在运行。httpd命令没有运行它,你是指http,https,xttpd。。。。文件不在/usr/local/etc中。