rebuilding apache24 and php70

Kurt Jaeger lists at opsec.eu
Tue Dec 26 16:13:49 UTC 2017


Hi!

> When trying to launch apache, I get the following error:
> 
> httpd: Syntax error on line 153 of /usr/local/etc/apache24/httpd.conf: Cannot load libexec/apache24/libphp7.so into server: /usr/local/libexec/apache24/libphp7.so: No space available for static Thread Local Storage
> 
> (apache does launch)

Please also note that this procedure helps with the load sequence
of PHP modules. For whatever reasons, having it in the wrong
sequence causes apache to die as well.

cd /tmp/
fetch https://people.freebsd.org/~ohauer/scripts/fixphpextorder.sh
chmod 755 fixphpextorder.sh
cd /usr/local/etc/php
cat ext-*ini > extensions.ini
/tmp/fixphpextorder.sh
mv extensions.ini.new extensions.ini
rm ext-*ini

-- 
pi at opsec.eu            +49 171 3101372                         3 years to go !


More information about the freebsd-ports mailing list