Page 1 of 1

How to disable thread safety

PostPosted: 04. July 2008 09:05
by frangaus
Iìm running xampp on windows xp; I need to turn thread safety off.
I tried to edit the php.ini file in apache/bin folder but I don't know exactly how thread safety can be turned off.

PostPosted: 04. July 2008 09:32
by Wiedmann
I need to turn thread safety off.

Why?

I tried to edit the php.ini file in apache/bin folder but I don't know exactly how thread safety can be turned off.

You can't disable this. Use must use a PHP which is compiled as not-thead-safe for this.

PostPosted: 07. July 2008 22:35
by frangaus
Ok I tried to use a php not thread safe, but now I have problems with apache; it doesn't start anymore giving 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

PostPosted: 07. July 2008 22:41
by Wiedmann
Well, I think the message is clear:
You can't use a non-thread safe php module together with Apache/Win (CGI should work).

(Apache's MPM is allways threaded on Windwows. No way to change this.)