我用php+apache+Mysql开发网站,Dreamweaver作开发工具,突然有一次我预览主页时不能预览,发现apache服务器关掉了,手动开启后再预览服务器又自动关掉了,不知道是什么原因.每次打开我的机器时都会出现这种情况,但过几个小时又恢复正常了,我的机器是dell 1420,不知是什么原因!请各位前辈高手帮忙啊....

解决方案 »

  1.   

    这是我的error log 的记录,我还是个新手看不懂,请高手帮忙分析哈,谢谢![1140] EACCELERATOR: PHP crashed on opline 0 of main() at E:\www\lab\note\getdatabase.php:2Error in my_thread_global_end(): 66 threads didn't exit
    [Sun May 18 20:44:14 2008] [crit] Parent: child process exited with status 3 -- Aborting.
    httpd.exe: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
    [Sun May 18 20:44:16 2008] [warn] NameVirtualHost *:80 has no VirtualHosts
    [Sun May 18 20:44:16 2008] [notice] Apache/2.2.8 (Win32) PHP/5.2.5 configured -- resuming normal operations
    [Sun May 18 20:44:16 2008] [notice] Server built: Jan 18 2008 00:37:19
    [Sun May 18 20:44:16 2008] [notice] Parent: Created child process 1044
    httpd.exe: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
    [Sun May 18 20:44:16 2008] [warn] NameVirtualHost *:80 has no VirtualHosts
    httpd.exe: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
    [Sun May 18 20:44:16 2008] [warn] NameVirtualHost *:80 has no VirtualHosts
    [Sun May 18 20:44:16 2008] [notice] Child 1044: Child process is running
    [Sun May 18 20:44:16 2008] [notice] Child 1044: Acquired the start mutex.
    [Sun May 18 20:44:16 2008] [notice] Child 1044: Starting 64 worker threads.
    [Sun May 18 20:44:16 2008] [notice] Child 1044: Starting thread to listen on port 80.
      

  2.   

    EACCELERATOR: PHP crashed on opline 0 of main() at E:\www\lab\note\getdatabase.php:2
      

  3.   

    看看getdatabase.php的第二行是啥