How to disable thread safety

Problems with the Windows version of XAMPP, questions, comments, and anything related.

How to disable thread safety

Postby frangaus » 04. July 2008 09:05

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.
frangaus
 
Posts: 2
Joined: 04. July 2008 09:01

Postby Wiedmann » 04. July 2008 09:32

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.
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby frangaus » 07. July 2008 22:35

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
frangaus
 
Posts: 2
Joined: 04. July 2008 09:01

Postby Wiedmann » 07. July 2008 22:41

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.)
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 71 guests