<tfoot id='CRFbT'></tfoot>
        <i id='CRFbT'><tr id='CRFbT'><dt id='CRFbT'><q id='CRFbT'><span id='CRFbT'><b id='CRFbT'><form id='CRFbT'><ins id='CRFbT'></ins><ul id='CRFbT'></ul><sub id='CRFbT'></sub></form><legend id='CRFbT'></legend><bdo id='CRFbT'><pre id='CRFbT'><center id='CRFbT'></center></pre></bdo></b><th id='CRFbT'></th></span></q></dt></tr></i><div id='CRFbT'><tfoot id='CRFbT'></tfoot><dl id='CRFbT'><fieldset id='CRFbT'></fieldset></dl></div>
          <bdo id='CRFbT'></bdo><ul id='CRFbT'></ul>

        <small id='CRFbT'></small><noframes id='CRFbT'>

        <legend id='CRFbT'><style id='CRFbT'><dir id='CRFbT'><q id='CRFbT'></q></dir></style></legend>

        php-&gt;mysql_connect ->子进程以状态 255 退出 - 重新启动

        php -gt; mysql_connect -gt; child process exited with status 255 -- Restarting(php-gt;mysql_connect -子进程以状态 255 退出 - 重新启动)
      1. <legend id='HHjp8'><style id='HHjp8'><dir id='HHjp8'><q id='HHjp8'></q></dir></style></legend>
          <tbody id='HHjp8'></tbody>

          <small id='HHjp8'></small><noframes id='HHjp8'>

                <bdo id='HHjp8'></bdo><ul id='HHjp8'></ul>
              • <tfoot id='HHjp8'></tfoot>
                • <i id='HHjp8'><tr id='HHjp8'><dt id='HHjp8'><q id='HHjp8'><span id='HHjp8'><b id='HHjp8'><form id='HHjp8'><ins id='HHjp8'></ins><ul id='HHjp8'></ul><sub id='HHjp8'></sub></form><legend id='HHjp8'></legend><bdo id='HHjp8'><pre id='HHjp8'><center id='HHjp8'></center></pre></bdo></b><th id='HHjp8'></th></span></q></dt></tr></i><div id='HHjp8'><tfoot id='HHjp8'></tfoot><dl id='HHjp8'><fieldset id='HHjp8'></fieldset></dl></div>

                • 本文介绍了php-&gt;mysql_connect ->子进程以状态 255 退出 - 重新启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我最近安装了 WAMP 服务器(单独安装模块):操作系统:Windows 7 x32阿帕奇:httpd-2.2.17-win32-x86-openssl-0.9.8oMySQL:mysql-5.1.50-win32PHP:php-5.2.17-Win32-VC6-x86

                  I recently have installed a WAMP server (Installing the modules individually): OS: Windows 7 x32 Apache: httpd-2.2.17-win32-x86-openssl-0.9.8o MySQL: mysql-5.1.50-win32 PHP: php-5.2.17-Win32-VC6-x86

                  我已经配置了所有,当我运行 phpinfo() 时它工作正常,但是当我使用 php_mysql.dll 时,apache 服务器重新启动.例如,我运行 phpMyAdmin,输入用户并通过,当我登录时没有加载页面.

                  I have configured all, when i run phpinfo() it work's fine, but when i use php_mysql.dll the apache server restart. For example, i run phpMyAdmin, put the user and pass and when I loging no page is loading.

                  我在 Apache 错误日志中看到了这个错误:

                  I see this error on the Apache error log:

                  [Mon Sep 29 14:39:56 2014] [notice] Parent: child process exited with status 255 -- Restarting.
                  [Mon Sep 29 14:39:56 2014] [notice] Apache/2.2.17 (Win32) PHP/5.2.17 configured -- resuming normal operations
                  [Mon Sep 29 14:39:56 2014] [notice] Server built: Oct 18 2010 01:58:12
                  [Mon Sep 29 14:39:56 2014] [notice] Parent: Created child process 3988
                  [Mon Sep 29 14:39:56 2014] [notice] Child 3988: Child process is running
                  [Mon Sep 29 14:39:56 2014] [notice] Child 3988: Acquired the start mutex.
                  [Mon Sep 29 14:39:56 2014] [notice] Child 3988: Starting 64 worker threads.
                  [Mon Sep 29 14:39:56 2014] [notice] Child 3988: Starting thread to listen on port 80.
                  

                  这在 windows 事件中:

                  And this in the windows event:

                  Nombre de la aplicación con errores: httpd.exe, versión: 2.2.17.0, marca de tiempo: 0x4cbbe9e8
                  Nombre del módulo con errores: php5ts.dll, versión: 5.2.17.17, marca de tiempo: 0x4d25fb49
                  Código de excepción: 0xc0000005
                  Desplazamiento de errores: 0x0000acca
                  Id. del proceso con errores: 0xe0
                  Hora de inicio de la aplicación con errores: 0x01cfdbe06167ac65
                  Ruta de acceso de la aplicación con errores: C:XXXXXXSERVERAPACHEinhttpd.exe
                  Ruta de acceso del módulo con errores: C:XXXXXXSERVERPHPphp5ts.dll
                  Id. del informe: a566f778-47d3-11e4-a945-000c2986f0eb
                  

                  我在谷歌搜索了七个小时,但我无法解决问题. 谁能帮我解决这个问题?

                  I was searching in google for seven hours and i can't solve the problem. Can anyone help me with this problem?

                  当我执行mysql_connect"时出现问题,例如,这会崩溃:

                  The problem appear when i do a "mysql_connect", for example, this crashes:

                  <?php
                  
                  $login_db = "root";
                  
                  $motdepass_db = "ZB1234";
                  echo "test de connexion";
                  
                  $connexion = mysql_connect ("localhost", $login_db, $motdepass_db);
                  /*echo "apres connexion";
                  if(!$connexion) {
                  
                    echo "Désolé. Connexion au server impossible.";
                  
                    exit;
                  
                    } else {
                  
                      echo "Connexion OK";
                  
                    } 
                    new PDO('mysql:host=localhost;dbname=test', 'root', 'ZB1234');*/
                  echo "fin script";
                  ?>
                  

                  推荐答案

                  我解决了这个问题.我将PHP中的php5apache.dll"和libmysql.dll"复制到Apache的bin目录,问题就消失了.

                  I solve the problem. I copy the "php5apache.dll" and "libmysql.dll" from the PHP to the bin directory of Apache and the problem dissapear.

                  @Phil,这是因为我必须在本地机器上回复旧的生产服务器.

                  @Phil, this is because i have to reply an old production server on my local machine.

                  感谢大家的回复.

                  这篇关于php-&gt;mysql_connect ->子进程以状态 255 退出 - 重新启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Converting string to MySQL timestamp format in php(在php中将字符串转换为MySQL时间戳格式)
                  datetime to timestamp(日期时间到时间戳)
                  PHP timestamp date to user timezone(PHP时间戳日期到用户时区)
                  Converting TIMESTAMP to unix time in PHP?(在 PHP 中将 TIMESTAMP 转换为 unix 时间?)
                  Convert ISO 8601 to unixtimestamp(将 ISO 8601 转换为 unixtimestamp)
                  Finding days between 2 unix timestamps in php(在php中查找2个unix时间戳之间的天数)

                • <legend id='nPtaF'><style id='nPtaF'><dir id='nPtaF'><q id='nPtaF'></q></dir></style></legend>
                    <tbody id='nPtaF'></tbody>

                    <tfoot id='nPtaF'></tfoot>

                    <small id='nPtaF'></small><noframes id='nPtaF'>

                      <bdo id='nPtaF'></bdo><ul id='nPtaF'></ul>

                            <i id='nPtaF'><tr id='nPtaF'><dt id='nPtaF'><q id='nPtaF'><span id='nPtaF'><b id='nPtaF'><form id='nPtaF'><ins id='nPtaF'></ins><ul id='nPtaF'></ul><sub id='nPtaF'></sub></form><legend id='nPtaF'></legend><bdo id='nPtaF'><pre id='nPtaF'><center id='nPtaF'></center></pre></bdo></b><th id='nPtaF'></th></span></q></dt></tr></i><div id='nPtaF'><tfoot id='nPtaF'></tfoot><dl id='nPtaF'><fieldset id='nPtaF'></fieldset></dl></div>