Link to home
Start Free TrialLog in
Avatar of Raz
RazFlag for United States of America

asked on

Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP.

While starting apache I get this error.

##########################################################################
 Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe You need to recompile PHP.
Pre-configuration failed
############################################################################

How to resolve this ??  Please help me.
Avatar of Francisco Igor
Francisco Igor
Flag of Canada image

The php distribution used don't support thread-safe, and apache is configured to threaded mode (MPM)

You could disable the MPM module on Apache conf file or try to upgrade PHP module to a thread-safe binary.


It seems that the Apache or the PHP binary was re-compiled or installed from different sources.
Generally, the apache and php modules are both thread safe or non-thread safe.

Avatar of Raz

ASKER

Thanks a lot for the help!!!!!

Sorry.... I really dont have time to post another question and wait!!!

Please tell me how can I upgrade PHP module as threadsafe?
ASKER CERTIFIED SOLUTION
Avatar of Francisco Igor
Francisco Igor
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial