On Tue, Dec 23, 2014 at 4:28 PM, Tim Dunphy <bluethundr@xxxxxxxxx> wrote: > So what I'll need to do is figure out a way to run php in non thread safe > mode. Can someone please let me know if there are any docs out there that > help you know how to do this? I've googled around for a while and not been > able to find any info on this. > if you download the source and compiled manually Thread Safety is Off by default. Did you do a simple phpinfo(); page and look to see if it's on or not? If it is on you turned it on when you compiled it. ./configure --help you'll see --enable-maintainer-zts Enable thread safety - for code maintainers only!! >From the zend book http://flylib.com/books/en/2.565.1.14/1/ A normal PHP build has thread safety turned off by default and only enables it if the SAPI being built is known to require thread safety, or if thread safety is explicitly turned on by a ./configure switch. Given the speed issues with global lookups and the lack of process isolation you might wonder why anyone would deliberately turn the TSRM layer on when it's not required. For the most part, it's extension and SAPI developers like you're about to become who turn thread safety on in order to ensure that new code will run correctly in all environments.