LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   SlackBuilds for PHP 8 correction (https://www.linuxquestions.org/questions/slackware-14/slackbuilds-for-php-8-correction-4175731918/)

teoberi 12-18-2023 12:29 PM

SlackBuilds for PHP 8 correction
 
php.SlackBuild line:
Quote:

--enable-maintainer-zts \
results in the message:
Quote:

configure: WARNING: unrecognized options: --enable-maintainer-zts
Useful resources:
https://www.php.net/manual/en/pthreads.requirements.php
https://github.com/phpbrew/phpbrew/issues/1208
https://github.com/php/php-src/commi...2bf593c784ccff

Code:

--enable-maintainer-zts -> --enable-zts

teoberi 12-22-2023 12:56 AM

Fixed.:)
The option has been removed from SlackBuild for PHP 8.3.1
It can be checked with the command:
php -i|grep Thread
Source:
https://www.geeksforgeeks.org/what-i...d-safe-in-php/
ZTS (Zend Thread Safety) is a requirement for parallel
https://www.php.net/manual/en/parallel.setup.php
Parallel installation is done from PECL, but at the moment there is no support for PHP 8.3.1:)
https://pecl.php.net/package-changel...&release=1.2.1
Thread closed.


All times are GMT -5. The time now is 02:47 PM.