Re: rebuilding apache24 and php70
On 26 Dec 2017, at 14:24, Johan Hendrikswrote: > > I run my roundcube through php-fpm on FreeBSD 11.1 and it works pretty well. > So there should be no show stoppers. Do not forget to select fpm in the > lang/php{56,70,71,72} port thanks. I did get php70 finally installed and seems to be working (I can load postfixadmin), but now get to figure out why I can't login! :) It's always something. I had to completely remove all of php70 (pkg delete -f php70*) and rebuild. And of course make some edits to the http.conf since php-fpm is far more fiddly than mod_php was. ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: rebuilding apache24 and php70
Op 26/12/2017 om 17:55 schreef @lbutlr: > On 26 Dec 2017, at 08:21, Johan Hendrikswrote: >> If you want to use php with mpm_event you need to use php-fpm. > I;ll see if php-fpm is compatible with roundcube. > > Course, I will have to figure out how to use php-fpm, as I recall it is very > different a lot more fiddly. > > ;/ > > > ___ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org" I run my roundcube through php-fpm on FreeBSD 11.1 and it works pretty well. So there should be no show stoppers. Do not forget to select fpm in the lang/php{56,70,71,72} port @ Kurt Jaeger Thanks for that script. I once run into that problem took me some time. Now I know how to solve it quicker. regards Johan ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: rebuilding apache24 and php70
On 26 Dec 2017, at 08:21, Johan Hendrikswrote: > If you want to use php with mpm_event you need to use php-fpm. I;ll see if php-fpm is compatible with roundcube. Course, I will have to figure out how to use php-fpm, as I recall it is very different a lot more fiddly. ;/ ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: rebuilding apache24 and php70
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 -- p...@opsec.eu+49 171 3101372 3 years to go ! ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: rebuilding apache24 and php70
Op 26/12/2017 om 16:06 schreef @lbutlr: > On 26 Dec 2017, at 07:06, Johan Hendrikswrote: >> You can not use mod_php with MPM_EVENT or MPM_WORKER >> To use mod_php you need MPM_PREFORK. > So all the warnings about building mod_php70 with ZTS if apache is threaded > are meaningless because it only works with non-threaded apache? > > > ___ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org" As far as I know yes. If you want to use php with mpm_event you need to use php-fpm. regards Johan ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: rebuilding apache24 and php70
On 26 Dec 2017, at 07:06, Johan Hendrikswrote: > You can not use mod_php with MPM_EVENT or MPM_WORKER > To use mod_php you need MPM_PREFORK. So all the warnings about building mod_php70 with ZTS if apache is threaded are meaningless because it only works with non-threaded apache? ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: rebuilding apache24 and php70
Op 26/12/2017 om 11:38 schreef @lbutlr: > with ports tree updated as of today, I've done > >portmaster -fR php70 >portmaster -fR mod_php70 >portmaster -fR apache24 > > 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) > > apache was configured with MPM_EVENT and MPM_SHARED, and both mod_php and > php70 with ZTS and LINKTHR. > > I've no idea where to proceed from here. > > > ___ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org" You can not use mod_php with MPM_EVENT or MPM_WORKER To use mod_php you need MPM_PREFORK. Regards Johan ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: rebuilding apache24 and php70
On 26 Dec 2017, at 03:38, @lbutlrwrote: > (apache does launch) Apache doe *not* launch. ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
rebuilding apache24 and php70
with ports tree updated as of today, I've done portmaster -fR php70 portmaster -fR mod_php70 portmaster -fR apache24 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) apache was configured with MPM_EVENT and MPM_SHARED, and both mod_php and php70 with ZTS and LINKTHR. I've no idea where to proceed from here. ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"