Foros del Web » Programando para Internet » PHP » Configuración PHP »

[SOLUCIONADO] Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsaf

Estas en el tema de Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsaf en el foro de Configuración PHP en Foros del Web. Hola que tal buenas tardes, ya tengo varias dias intentando y no eh podido conectar php con apache en httpd pongo Código HTML: LoadModule php5_module ...
  #1 (permalink)  
Antiguo 11/02/2013, 16:40
 
Fecha de Ingreso: marzo-2010
Mensajes: 18
Antigüedad: 14 años
Puntos: 0
Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsaf

Hola que tal buenas tardes, ya tengo varias dias intentando y no eh podido conectar php con apache

en httpd

pongo
Código HTML:
LoadModule php5_module "C:/Apache/PHP/php5apache2_2.dll"

AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .php4
AddHandler application/x-httpd-php .php
PHPIniDir "c:/apache/php"
y cuando le doy en Restart en el servidor me sale error

The requested operation has failed!

y si le quito eso si sale :(

y cuando voy C:\Apache\logs\error

me dice esto

Código HTML:
[Mon Feb 11 16:21:45 2013] [crit] Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe.  You need to recompile PHP.
Pre-configuration failed
[Mon Feb 11 16:21:45 2013] [warn] (OS 995)La operación de E/S se anuló por una salida de subproceso o por una solicitud de aplicación.  : winnt_accept: Asynchronous AcceptEx failed.
[Mon Feb 11 16:21:46 2013] [notice] Child 1868: Released the start mutex
[Mon Feb 11 16:21:47 2013] [notice] Child 1868: All worker threads have exited.
[Mon Feb 11 16:21:47 2013] [notice] Child 1868: Child process is exiting
  #2 (permalink)  
Antiguo 11/02/2013, 16:42
Avatar de pateketrueke
Modernizr
 
Fecha de Ingreso: abril-2008
Ubicación: Mexihco-Tenochtitlan
Mensajes: 26.399
Antigüedad: 16 años
Puntos: 2534
Respuesta: Apache is running a threaded MPM, but your PHP Module is not compiled to b

Pues el mensaje de error es bastante claro:
Cita:
Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP.
PDTA: hay que aprender usar un traductor en linea por si no sabes de que se tratan las cosas.
__________________
Y U NO RTFM? щ(ºдºщ)

No atiendo por MP nada que no sea personal.
  #3 (permalink)  
Antiguo 11/02/2013, 16:45
Avatar de GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 17 años, 11 meses
Puntos: 2135
Respuesta: Apache is running a threaded MPM, but your PHP Module is not compiled to b

Si vas a la pagina de PHP, vas a ver dos versiones la TS (Thread Safe) es la que debes de usar con Apache, la NTS (Non Thread Safe) es la que no se puede usar con Apache como módulo.

Saludos.
  #4 (permalink)  
Antiguo 11/02/2013, 16:57
 
Fecha de Ingreso: marzo-2010
Mensajes: 18
Antigüedad: 14 años
Puntos: 0
Respuesta: Apache is running a threaded MPM, but your PHP Module is not compiled to b

gracias a ambos, le entendi mas a lo que me dijo gatorV pero reconosco mi error

BENDICIONES

Etiquetas: apache, module, php, running
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 03:48.