为什么我安装了apc后运行uchome程序,Apache服务就会自动停止

解决方案 »

  1.   

    [Mon Aug 23 09:53:38 2010] [notice] Child 3168: Child process is running
    [Mon Aug 23 09:53:38 2010] [notice] Child 3168: Acquired the start mutex.
    [Mon Aug 23 09:53:38 2010] [notice] Child 3168: Starting 64 worker threads.
    [Mon Aug 23 09:53:38 2010] [notice] Child 3168: Starting thread to listen on port 80.
    [Mon Aug 23 09:53:48 2010] [error] [client 192.168.1.108] File does not exist: E:/source/sq/home/source/jquery.js, referer: http://www.xqwsq.com/home/space.php?do=home
    [Mon Aug 23 09:53:48 2010] [error] [client 192.168.1.108] File does not exist: E:/source/sq/ucenter/data/avatar/000/00/00/14_avatar_small.jpg, referer: http://www.xqwsq.com/home/space.php?do=home
    [Mon Aug 23 09:53:48 2010] [error] [client 192.168.1.108] File does not exist: E:/source/sq/ucenter/data/avatar/000/00/00/12_avatar_small.jpg, referer: http://www.xqwsq.com/home/space.php?do=home
    [Mon Aug 23 09:53:48 2010] [error] [client 192.168.1.108] File does not exist: E:/source/sq/ucenter/data/avatar/000/00/00/13_avatar_small.jpg, referer: http://www.xqwsq.com/home/space.php?do=home
    [Mon Aug 23 09:53:48 2010] [error] [client 192.168.1.108] File does not exist: E:/source/sq/ucenter/data/avatar/000/00/00/06_avatar_small.jpg, referer: http://www.xqwsq.com/home/space.php?do=home
    [Mon Aug 23 09:53:48 2010] [error] [client 127.0.0.1] File does not exist: E:/source/sq/home/source/jquery.js, referer: http://www.xqwsq.com/home/admincp.php?ac=pic_t&id=408&orderby=id&ordersc=desc&perpage=20
    [Mon Aug 23 09:53:50 2010] [error] [client 192.168.1.108] File does not exist: E:/source/sq/home/source/jquery.js, referer: http://www.xqwsq.com/home/factory.php?do=engineer
    [Mon Aug 23 09:53:52 2010] [error] [client 192.168.1.108] File does not exist: E:/source/sq/home/source/jquery.js, referer: http://www.xqwsq.com/home/factory.php?do=factory
    [Mon Aug 23 09:53:53 2010] [error] [client 127.0.0.1] File does not exist: E:/source/sq/home/source/jquery.js, referer: http://www.xqwsq.com/home/admincp.php?ac=pic_t&id=408&orderby=id&ordersc=desc&perpage=20
    太多了,我只粘了了一部分信息
      

  2.   

    这段信息只是说你的页面访问E:/source/sq/home/source/jquery.js错误,没有这个文件,可能是路径的问题。你要找Apache服务停止的那个时间段的错误信息出来看看。
      

  3.   

    [Mon Aug 23 10:28:55 2010] [notice] Parent: Received restart signal -- Restarting the server.
    [Mon Aug 23 10:28:55 2010] [notice] Child 3168: Exit event signaled. Child process is ending.
    Warning: DocumentRoot [C:/Program Files/Apache Software Foundation/Apache2.2/docs/dummy-host.localhost] does not exist
    httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.109 for ServerName
    PHP Warning:  PHP Startup: Unable to load dynamic library 'c:/php/ext\\msql.dll' - \xd5\xd2\xb2\xbb\xb5\xbd\xd6\xb8\xb6\xa8\xb5\xc4\xc4\xa3\xbf\xe9\xa1\xa3\r\n in Unknown on line 0
    [Mon Aug 23 10:28:55 2010] [notice] Apache/2.2.11 (Win32) PHP/5.2.8 configured -- resuming normal operations
    [Mon Aug 23 10:28:55 2010] [notice] Server built: Dec 10 2008 00:10:06
    [Mon Aug 23 10:28:55 2010] [notice] Parent: Created child process 3276
    Warning: DocumentRoot [C:/Program Files/Apache Software Foundation/Apache2.2/docs/dummy-host.localhost] does not exist
    httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.109 for ServerName
    Warning: DocumentRoot [C:/Program Files/Apache Software Foundation/Apache2.2/docs/dummy-host.localhost] does not exist
    httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.109 for ServerName
    PHP Warning:  PHP Startup: Unable to load dynamic library 'c:/php/ext\\msql.dll' - \xd5\xd2\xb2\xbb\xb5\xbd\xd6\xb8\xb6\xa8\xb5\xc4\xc4\xa3\xbf\xe9\xa1\xa3\r\n in Unknown on line 0
    [Mon Aug 23 10:28:55 2010] [notice] Child 3276: Child process is running
    [Mon Aug 23 10:28:56 2010] [notice] Child 3276: Acquired the start mutex.
    [Mon Aug 23 10:28:56 2010] [notice] Child 3276: Starting 64 worker threads.
    [Mon Aug 23 10:28:56 2010] [notice] Child 3168: Released the start mutex
    [Mon Aug 23 10:28:57 2010] [notice] Child 3168: All worker threads have exited.
    [Mon Aug 23 10:28:57 2010] [notice] Child 3276: Starting thread to listen on port 80.
    [Mon Aug 23 10:28:57 2010] [notice] Child 3168: Child process is exiting
    这个是不是呢?我是在Apache的错误日志中找的
      

  4.   

    c:/php/ext\\msql.dll这个加载不了,
    你是不是写错了如果要mysql扩展,应该是php_mysql.
    如果是mssql扩展,应该是php_mssql.dll
      

  5.   

    不是啊,没写错,在安装apc扩展之前是都没问题的,就是安装了apc后才这样的
      

  6.   

    apa你装的是什么扩展?怎么安装的?
      

  7.   

    是apc扩展,我是想实现上传出现进度条的效果,看网上的方法是,给php安装上apc扩展
      

  8.   

    msql.dll可能被apc替换了,而且和你当前的Apache版本不匹配。
      

  9.   

    看看apc的安装说明文档有没有版本的说明,重新复制php的msql.dll到你的程序目录中
      

  10.   

    php 配置下载:http://downloads.php.net/pierre/