mysql child process_php -> mysql_connect -> child process exited with status 255 ― Restarting

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

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.

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.

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:\XXXXXX\SERVER\APACHE\bin\httpd.exe Ruta de acceso del módulo con errores: C:\XXXXXX\SERVER\PHP\php5ts.dll Id. del informe: a566f778-47d3-11e4-a945-000c2986f0eb

EDIT: 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"; ?>

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值