Ver Mensaje Individual
  #7 (permalink)  
Antiguo 24/04/2009, 02:09
Avatar de Kamae
Kamae
 
Fecha de Ingreso: abril-2008
Ubicación: Barcelona (Catalunya)
Mensajes: 307
Antigüedad: 16 años, 7 meses
Puntos: 13
Respuesta: Error al usar funciones mysql con PHP (W2003 Server)

Holap!

Me aparece lo siguiente:

Cita:
[Fri Apr 24 08:49:13 2009] [notice] Parent: Received restart signal -- Restarting the server.
[Fri Apr 24 08:49:13 2009] [notice] Child 6140: Exit event signaled. Child process is ending.
PHP Warning: PHP Startup: Unable to load dynamic library 'C:/Archivos de programa/PHP/ext/php_curl.dll' - No se puede encontrar el m\xf3dulo especificado.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'C:/Archivos de programa/PHP/ext/php_mssql.dll' - No se puede encontrar el m\xf3dulo especificado.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'C:/Archivos de programa/PHP/ext/php_printer.dll' - No se puede encontrar el m\xf3dulo especificado.\r\n in Unknown on line 0
[Fri Apr 24 08:49:13 2009] [notice] Apache/2.2.11 (Win32) PHP/5.2.8 configured -- resuming normal operations
[Fri Apr 24 08:49:13 2009] [notice] Server built: Dec 10 2008 00:10:06
[Fri Apr 24 08:49:13 2009] [notice] Parent: Created child process 472
PHP Warning: PHP Startup: Unable to load dynamic library 'C:/Archivos de programa/PHP/ext/php_curl.dll' - No se puede encontrar el m\xf3dulo especificado.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'C:/Archivos de programa/PHP/ext/php_mssql.dll' - No se puede encontrar el m\xf3dulo especificado.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'C:/Archivos de programa/PHP/ext/php_printer.dll' - No se puede encontrar el m\xf3dulo especificado.\r\n in Unknown on line 0
[Fri Apr 24 08:49:13 2009] [notice] Child 472: Child process is running
[Fri Apr 24 08:49:14 2009] [notice] Child 6140: Released the start mutex
[Fri Apr 24 08:49:14 2009] [notice] Child 472: Acquired the start mutex.
[Fri Apr 24 08:49:14 2009] [notice] Child 472: Starting 250 worker threads.
[Fri Apr 24 08:49:15 2009] [notice] Child 6140: All worker threads have exited.
[Fri Apr 24 08:49:15 2009] [notice] Child 6140: Child process is exiting
[Fri Apr 24 08:49:15 2009] [notice] Child 472: Starting thread to listen on port 8080.
[Fri Apr 24 08:49:35 2009] [notice] Parent: child process exited with status 3221225477 -- Restarting.
PHP Warning: PHP Startup: Unable to load dynamic library 'C:/Archivos de programa/PHP/ext/php_curl.dll' - No se puede encontrar el m\xf3dulo especificado.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'C:/Archivos de programa/PHP/ext/php_mssql.dll' - No se puede encontrar el m\xf3dulo especificado.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'C:/Archivos de programa/PHP/ext/php_printer.dll' - No se puede encontrar el m\xf3dulo especificado.\r\n in Unknown on line 0
[Fri Apr 24 08:49:35 2009] [notice] Apache/2.2.11 (Win32) PHP/5.2.8 configured -- resuming normal operations
[Fri Apr 24 08:49:35 2009] [notice] Server built: Dec 10 2008 00:10:06
[Fri Apr 24 08:49:35 2009] [notice] Parent: Created child process 2420
PHP Warning: PHP Startup: Unable to load dynamic library 'C:/Archivos de programa/PHP/ext/php_curl.dll' - No se puede encontrar el m\xf3dulo especificado.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'C:/Archivos de programa/PHP/ext/php_mssql.dll' - No se puede encontrar el m\xf3dulo especificado.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'C:/Archivos de programa/PHP/ext/php_printer.dll' - No se puede encontrar el m\xf3dulo especificado.\r\n in Unknown on line 0
[Fri Apr 24 08:49:35 2009] [notice] Child 2420: Child process is running
[Fri Apr 24 08:49:35 2009] [notice] Child 2420: Acquired the start mutex.
[Fri Apr 24 08:49:35 2009] [notice] Child 2420: Starting 250 worker threads.
[Fri Apr 24 08:49:35 2009] [notice] Child 2420: Starting thread to listen on port 8080.
Parece que no carga bien los módulos estos pero.. ahora lo que joderá es saber por qué.. jajaj

He estado buscando por Google pero no encontré nada que no hubiera hecho ya.. Sólo que en vez de poner la ruta completa en el extension_dir, lo pusiera a partir de la carpeta raíz de PHP (es decir, en vez de "C:/Archivos de programa/PHP/ext/", poner "/ext/"). Eso almenos ha arreglado el problema de que no cargara nada, ahora vuelve a cargarme la página con el error de: mysql_connect: Call to undefined function.

He vuelto a mirar el log de errores, y sigue sin cargarme módulos:

Cita:
[Fri Apr 24 09:49:51 2009] [notice] Parent: Received restart signal -- Restarting the server.
[Fri Apr 24 09:49:51 2009] [notice] Child 2180: Exit event signaled. Child process is ending.
PHP Warning: PHP Startup: Unable to load dynamic library '/ext/php_curl.dll' - No se puede encontrar el m\xf3dulo especificado.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/ext/php_gd2.dll' - No se puede encontrar el m\xf3dulo especificado.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/ext/php_mssql.dll' - No se puede encontrar el m\xf3dulo especificado.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/ext/php_sqlsrv_ts.dll' - No se puede encontrar el m\xf3dulo especificado.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/ext/php_mysql.dll' - No se puede encontrar el m\xf3dulo especificado.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/ext/php_pgsql.dll' - No se puede encontrar el m\xf3dulo especificado.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/ext/php_printer.dll' - No se puede encontrar el m\xf3dulo especificado.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/ext/php_shmop.dll' - No se puede encontrar el m\xf3dulo especificado.\r\n in Unknown on line 0
[Fri Apr 24 09:49:51 2009] [notice] Apache/2.2.11 (Win32) PHP/5.2.8 configured -- resuming normal operations
[Fri Apr 24 09:49:51 2009] [notice] Server built: Dec 10 2008 00:10:06
[Fri Apr 24 09:49:51 2009] [notice] Parent: Created child process 2288
PHP Warning: PHP Startup: Unable to load dynamic library '/ext/php_curl.dll' - No se puede encontrar el m\xf3dulo especificado.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/ext/php_gd2.dll' - No se puede encontrar el m\xf3dulo especificado.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/ext/php_mssql.dll' - No se puede encontrar el m\xf3dulo especificado.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/ext/php_sqlsrv_ts.dll' - No se puede encontrar el m\xf3dulo especificado.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/ext/php_mysql.dll' - No se puede encontrar el m\xf3dulo especificado.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/ext/php_pgsql.dll' - No se puede encontrar el m\xf3dulo especificado.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/ext/php_printer.dll' - No se puede encontrar el m\xf3dulo especificado.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/ext/php_shmop.dll' - No se puede encontrar el m\xf3dulo especificado.\r\n in Unknown on line 0
[Fri Apr 24 09:49:51 2009] [notice] Child 2288: Child process is running
[Fri Apr 24 09:49:52 2009] [notice] Child 2180: Released the start mutex
[Fri Apr 24 09:49:52 2009] [notice] Child 2288: Acquired the start mutex.
[Fri Apr 24 09:49:52 2009] [notice] Child 2288: Starting 250 worker threads.
[Fri Apr 24 09:49:53 2009] [notice] Child 2180: All worker threads have exited.
[Fri Apr 24 09:49:53 2009] [notice] Child 2180: Child process is exiting
[Fri Apr 24 09:49:53 2009] [notice] Child 2288: Starting thread to listen on port 8080.
[Fri Apr 24 09:49:54 2009] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function mysql_connect() in C:\\Archivos de programa\\Apache Software Foundation\\Apache2.2\\htdocs\\Marcatge\\index2.ph p on line 14
Gracias por la ayuda GatorV!