Re: Trouble configuring PHP 7.1 module for Unit 1.0 on Gentoo Linux

2018-04-13 Thread Ralph Seichter
On 13.04.18 17:12, Igor Sysoev wrote: > > I think it would be worth mentioning this particular detail in > > https://unit.nginx.org/installation/#configuring-sources . > > Almost the same example is here: > https://unit.nginx.org/installation/#configuring-php-modules I should probably have been

Re: [SOLVED] Re: Trouble configuring PHP 7.1 module for Unit 1.0 on Gentoo Linux

2018-04-13 Thread Igor Sysoev
> On 13 Apr 2018, at 18:07, Ralph Seichter wrote: > > On 13.04.2018 16:40, Igor Sysoev wrote: > >> On Gentoo you should also use --lib-path > > Thank you, Igor! The following works on my Gentoo test server: > > ./configure php

[SOLVED] Re: Trouble configuring PHP 7.1 module for Unit 1.0 on Gentoo Linux

2018-04-13 Thread Ralph Seichter
On 13.04.2018 16:40, Igor Sysoev wrote: > On Gentoo you should also use --lib-path Thank you, Igor! The following works on my Gentoo test server: ./configure php --config=/usr/lib64/php7.1/bin/php-config --lib-path=/usr/lib64/php7.1/lib64 I think it would be worth mentioning this particular

Re: Trouble configuring PHP 7.1 module for Unit 1.0 on Gentoo Linux

2018-04-13 Thread Igor Sysoev
> On 13 Apr 2018, at 17:23, Ralph Seichter wrote: > > On 13.04.2018 14:49, Igor Sysoev wrote: > >>> $ ./configure php --config=/usr/lib64/php7.1/bin/php-config >>> configuring PHP module >>> checking for PHP ... found >>> + PHP SAPI: [embed cli fpm apache2handler]

Re: Trouble configuring PHP 7.1 module for Unit 1.0 on Gentoo Linux

2018-04-13 Thread Ralph Seichter
On 13.04.2018 14:49, Igor Sysoev wrote: >> $ ./configure php --config=/usr/lib64/php7.1/bin/php-config >> configuring PHP module >> checking for PHP ... found >> + PHP SAPI: [embed cli fpm apache2handler] >> checking for PHP embed SAPI ... not found > > Could you show the last lines from

Re: Trouble configuring PHP 7.1 module for Unit 1.0 on Gentoo Linux

2018-04-13 Thread Ralph Seichter
On 13.04.18 12:52, Igor Sysoev wrote: > PHP package was built without embed SAPI support. > Otherwise it shows something like this: > + PHP SAPI: [cli fpm embed apache2handler] Thanks, Igor. I have rebuilt PHP 7.1 with the following USE flags: # /etc/portage/package.use/php dev-lang/php

Re: Trouble configuring PHP 7.1 module for Unit 1.0 on Gentoo Linux

2018-04-13 Thread Igor Sysoev
> On 13 Apr 2018, at 13:14, Ralph Seichter wrote: > > Congratulations to the whole team for reaching the release 1.0 milestone! > > I'm trying to build Unit on Gentoo Linux, and while module configs for > Python and Perl work as expected, I'm struggling with the PHP

Trouble configuring PHP 7.1 module for Unit 1.0 on Gentoo Linux

2018-04-13 Thread Ralph Seichter
Congratulations to the whole team for reaching the release 1.0 milestone! I'm trying to build Unit on Gentoo Linux, and while module configs for Python and Perl work as expected, I'm struggling with the PHP module: $ ./configure php --config=/usr/lib64/php7.1/bin/php-config configuring PHP