I am compiling PHP 5.6.36 with Apache 2.4.33 on a CentOS 7 Server and the PHP Thread Safe is always enabled. I did try to compile using --disable-posix-threads but this option is not a "configure" option and also with --disable-maintainer-zts and at the end the TS is still enabled on my Server.
When I was using Apache 2.2 I didn't had this problem, once my server need to have PHP always disabled. My Zend library is compiled without TS and I will run PHP as module and not as cgi or fast-cgi.
Is there any way to compile PHP 5.6 with Apache 2.4 without TS enabled?