What if I install php7x from binary packages via pkg? Is it threadsafe there or not?Note: You must have enabled thread safety option in your PHP7x before now and successfully built it. If you have not, go to "/usr/ports/lang/php7x", select "Force ZEND Thread Safety (ZTS) Build" and run the make commands too.
No, they are not threadsafe.What if I install php7x from binary packages via pkg? Is it threadsafe there or not?
Seems like I have to compile the whole php because when I follow your instructions I got a messageType "cd /usr/ports/www/mod_php7x", where x is a number between (1 and 3) depending on what version of PHP you have, AND press the ENTER button.
Type "make config" and choose the option "Force ZEND Thread Safety (ZTS) Build" , AND press the ENTER button.
Type "make build install" , AND press the ENTER button.
!!! If you have a threaded Apache, you must build lang/php71 with ZTS support
to enable thread-safety in extensions !!!
Seems like I have to compile the whole php because when I follow your instructions I got a message
Code:!!! If you have a threaded Apache, you must build lang/php71 with ZTS support to enable thread-safety in extensions !!!