X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 0FEACDCA3F1 for ; Thu, 24 Mar 2016 18:35:13 +0000 (UTC) Received: from mail-oi0-f43.google.com (mail-oi0-f43.google.com [209.85.218.43]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id CEB72DC029D for ; Thu, 24 Mar 2016 18:35:11 +0000 (UTC) Received: by mail-oi0-f43.google.com with SMTP id i21so23949744oig.1 for ; Thu, 24 Mar 2016 11:35:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dafiti.com.br; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=763uFdNCQ9bSFsgNkZRATHVe3k5DU2mmGWbj6eCgWEs=; b=hjEQ8t7F1iticYiNGIEqXo+3va7IcPgoUCPcFr4NmQHHdb2xxLiRnop9SGBucpdkOO b78DeNCYHNsl3QXEUV/QnEQ7BHupwOvBz9O4BqncCMLQyAoQzuSKM1yUhNYyhQzYVFwJ TN2k6lK17GuoywqINFdLDncsP+wyZmhulIwa4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=763uFdNCQ9bSFsgNkZRATHVe3k5DU2mmGWbj6eCgWEs=; b=KlTGbpPH8jM8Vljqm8FknnFcjDx4q69ktSggyXL2CiNG+VnXbrGdTjPD02dZS11HYz kR2ymXYaJ329DI87ONM/wQ4lzkOGZrezazr30FnESU19pbSWJPwqFg/WdOdgAC5y6pM4 zOJm2IL0sR+DEnhmxQIYc/6djpOurWjTXsYSUKwyqEOSxP9MYFCqbtt3FyryqesLbE+u /tbcgUx2W/vxmZVJFFogSHeNec3adqLNePd+iYXLKDDywBntEqcyRM0w0sUn/3DXZn8+ S2ilXSsWi06EUoNHgZ85KDIjGa8lJIuZD5K92DwszNuouv9p6LAA1pMWjWjxXbSmj35t szQg== X-Gm-Message-State: AD7BkJK3wliHaMFcAM0ERE49fmRIykhr1ayfjKMTriw8ueYdZ1BAFOt+VPodxKydSQIjNSEeK6JUcvHtua+xxu8bjdiOGTAPJZhcd6Khe6Nv5CUpoDGfNTmr4j8HbiJeLMWPbQ/A19puYUY4X2lE2OoiZCb5zbX9m7kW8g== X-Received: by 10.157.41.244 with SMTP id g49mr4805263otd.44.1458844511312; Thu, 24 Mar 2016 11:35:11 -0700 (PDT) X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Received: by 10.202.66.11 with HTTP; Thu, 24 Mar 2016 11:34:51 -0700 (PDT) In-Reply-To: References: <1458363165-20352-1-git-send-email-silva.ribeiro@dafiti.com.br> From: Fabio da Silva Ribeiro Date: Thu, 24 Mar 2016 15:34:51 -0300 Message-ID: Subject: Re: [alpine-aports] [PATCH] testing/php7: Enabled session by default To: Valery Kartel Cc: alpine-aports@lists.alpinelinux.org Content-Type: multipart/alternative; boundary=001a113eff02e13478052ecfb459 X-Virus-Scanned: ClamAV using ClamSMTP --001a113eff02e13478052ecfb459 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks! I will work on it soon! 2016-03-24 13:20 GMT-03:00 Valery Kartel : > > Just reproduced it with your php7-memcached build. > > php7 really won't start with an error: PHP Warning: PHP Startup: Unable > to load dynamic library '/usr/lib/php7/modules/memcached.so' - Error > relocating /usr/lib/php7/modules/memcached.so: php_session_create_id: > symbol not found in Unknown on line 0 > > But when I renamed /etc/php7/conf.d/session.ini to > /etc/php7/conf.d/00_session.ini, php7 starts well. > So it's a problem with extension load order. > > I'll make a patch to rename all ini files for bundled extensions from > .ini to 00_.ini > And you may need to add php7-session as dependency for memcached and redi= s > extensions... > > 2016-03-24 17:59 GMT+02:00 Fabio da Silva Ribeiro < > fabio.ribeiro@dafiti.com.br>: > >> Well, I tried to compile Redis and Memcached with session shared, but is >> not possible, because the libraries not found the session register. >> >> >> >> 2016-03-24 10:44 GMT-03:00 Valery Kartel : >> >>> Hi Fabio, >>> >>> What the reason to compile session support into main binary not as >>> shared? >>> >>> Just install php7-session extension to enable it (apk add php7-session) >>> >>> 2016-03-19 6:52 GMT+02:00 Fabio da Silva Ribeiro < >>> silva.ribeiro@dafiti.com.br>: >>> >>>> --- >>>> testing/php7/APKBUILD | 4 +--- >>>> 1 file changed, 1 insertion(+), 3 deletions(-) >>>> >>>> diff --git a/testing/php7/APKBUILD b/testing/php7/APKBUILD >>>> index 8a56b5d..44c7314 100644 >>>> --- a/testing/php7/APKBUILD >>>> +++ b/testing/php7/APKBUILD >>>> @@ -58,7 +58,6 @@ subpackages=3D"$pkgname-dev $pkgname-doc >>>> $pkgname-posix >>>> $pkgname-pspell >>>> $pkgname-readline >>>> - $pkgname-session >>>> $pkgname-shmop >>>> $pkgname-snmp >>>> $pkgname-soap >>>> @@ -161,7 +160,7 @@ _build() { >>>> --enable-posix=3Dshared \ >>>> --enable-phar=3Dshared \ >>>> --with-pspell=3Dshared \ >>>> - --enable-session=3Dshared \ >>>> + --enable-session \ >>>> --enable-shmop=3Dshared \ >>>> --with-snmp=3Dshared \ >>>> --enable-soap=3Dshared \ >>>> @@ -379,7 +378,6 @@ phar() { >>>> posix() { _mv_ext posix; } >>>> pspell() { _mv_ext pspell; } >>>> readline() { _mv_ext readline; } >>>> -session() { _mv_ext session; } >>>> shmop() { _mv_ext shmop; } >>>> snmp() { _mv_ext snmp; } >>>> soap() { _mv_ext soap $pkgname-xml; } >>>> -- >>>> 2.1.4 >>>> >>>> >>>> -- >>>> *** >>>> >>>> Esta mensagem, incluindo seus anexos, pode conter informa=C3=A7=C3=B5e= s >>>> confidenciais >>>> e/ou privilegiadas. Se voc=C3=AA n=C3=A3o for a pessoa autorizada a re= ceber esta >>>> mensagem, n=C3=A3o pode usar, copiar ou divulgar as informa=C3=A7=C3= =B5es nela >>>> contidas ou >>>> tomar qualquer a=C3=A7=C3=A3o baseada nessas informa=C3=A7=C3=B5es. Ca= so esta mensagem tenha >>>> sido recebida por engano, por favor avise imediatamente o remetente, >>>> respondendo o e-mail e em seguida elimine-a do seu sistema. Agradecemo= s >>>> sua >>>> coopera=C3=A7=C3=A3o. >>>> >>>> This message, including any attachments, may contain confidential and/= or >>>> privileged information. If you are not the addressee or authorized to >>>> receive this for the addressee, you must not use, copy, disclose or ta= ke >>>> any action based on this message or any information herein. If you hav= e >>>> received this message in error, please advise the sender immediately b= y >>>> reply e-mail and delete this message.Thank you for your cooperation >>>> >>>> >>>> --- >>>> Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org >>>> Help: alpine-aports+help@lists.alpinelinux.org >>>> --- >>>> >>>> >>> >> >> *** >> >> Esta mensagem, incluindo seus anexos, pode conter informa=C3=A7=C3=B5es >> confidenciais e/ou privilegiadas. Se voc=C3=AA n=C3=A3o for a pessoa aut= orizada a >> receber esta mensagem, n=C3=A3o pode usar, copiar ou divulgar as informa= =C3=A7=C3=B5es >> nela contidas ou tomar qualquer a=C3=A7=C3=A3o baseada nessas informa=C3= =A7=C3=B5es. Caso esta >> mensagem tenha sido recebida por engano, por favor avise imediatamente o >> remetente, respondendo o e-mail e em seguida elimine-a do seu sistema. >> Agradecemos sua coopera=C3=A7=C3=A3o. >> >> This message, including any attachments, may contain confidential and/or >> privileged information. If you are not the addressee or authorized to >> receive this for the addressee, you must not use, copy, disclose or take >> any action based on this message or any information herein. If you have >> received this message in error, please advise the sender immediately by >> reply e-mail and delete this message.Thank you for your cooperation >> > > --=20 *** Esta mensagem, incluindo seus anexos, pode conter informa=C3=A7=C3=B5es con= fidenciais=20 e/ou privilegiadas. Se voc=C3=AA n=C3=A3o for a pessoa autorizada a receber= esta=20 mensagem, n=C3=A3o pode usar, copiar ou divulgar as informa=C3=A7=C3=B5es n= ela contidas ou=20 tomar qualquer a=C3=A7=C3=A3o baseada nessas informa=C3=A7=C3=B5es. Caso es= ta mensagem tenha=20 sido recebida por engano, por favor avise imediatamente o remetente,=20 respondendo o e-mail e em seguida elimine-a do seu sistema. Agradecemos sua= =20 coopera=C3=A7=C3=A3o. This message, including any attachments, may contain confidential and/or=20 privileged information. If you are not the addressee or authorized to=20 receive this for the addressee, you must not use, copy, disclose or take=20 any action based on this message or any information herein. If you have=20 received this message in error, please advise the sender immediately by=20 reply e-mail and delete this message.Thank you for your cooperation --001a113eff02e13478052ecfb459 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks!

I will work on it soon!



2016-03-24 13:20 GMT-03:00 Valery Kartel <valery.kartel@gmail.com>:

Just reproduced it with your php7-memcached b= uild.

php7 really won't start with an error: PHP Warning:=C2=A0 = PHP Startup: Unable to load dynamic library '/usr/lib/php7/modules/memc= ached.so' - Error relocating /usr/lib/php7/modules/memcached.so: php_se= ssion_create_id: symbol not found in Unknown on line 0

But when I re= named /etc/php7/conf.d/session.ini to /etc/php7/conf.d/00_session.ini, php7= starts well.
So it's a problem with extension load order.

I&= #39;ll make a patch to rename all ini files for bundled extensions from <= ;extname>.ini to 00_<extname>.ini
And you may need to add php7-= session as dependency for memcached and redis extensions...
=

2016-03-24 17:59 GMT+02:00 Fabio da Silva Ribeiro <fabio.ribeiro@dafiti.com.br>:
Well, I tried to compile Redis and Memcache= d with session shared, but is not possible, because the libraries not found= the session register.



2016-03-24 10:44 GMT-03:00 Valery Kartel <valery.kartel@gmail.com>:
Hi Fabio,

What the reason to compile sess= ion support into main binary not as shared?

Just install php7<= /span>-session extension to enable it (apk add php7-session)

2016-03-19 6:52 GMT+02:00 Fabio da Silva Ribeiro <silva.ribeiro@dafiti.com.br>:
---
=C2=A0testing/php7/APKBUILD | 4 +---
=C2=A01 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/testing/php7/APKBUILD b/testing/php7/APKBUILD
index 8a56b5d..44c7314 100644
--- a/testing/php7/APKBUILD
+++ b/testing/php7/APKBUILD
@@ -58,7 +58,6 @@ subpackages=3D"$pkgname-dev $pkgname-doc
=C2=A0 =C2=A0 =C2=A0 =C2=A0 $pkgname-posix
=C2=A0 =C2=A0 =C2=A0 =C2=A0 $pkgname-pspell
=C2=A0 =C2=A0 =C2=A0 =C2=A0 $pkgname-readline
-=C2=A0 =C2=A0 =C2=A0 =C2=A0$pkgname-session
=C2=A0 =C2=A0 =C2=A0 =C2=A0 $pkgname-shmop
=C2=A0 =C2=A0 =C2=A0 =C2=A0 $pkgname-snmp
=C2=A0 =C2=A0 =C2=A0 =C2=A0 $pkgname-soap
@@ -161,7 +160,7 @@ _build() {
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 --enable-posix=3Dsh= ared \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 --enable-phar=3Dsha= red \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 --with-pspell=3Dsha= red \
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0--enable-session=3D= shared \
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0--enable-session \<= br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 --enable-shmop=3Dsh= ared \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 --with-snmp=3Dshare= d \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 --enable-soap=3Dsha= red \
@@ -379,7 +378,6 @@ phar()=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = {
=C2=A0posix()=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 { _mv_= ext posix; }
=C2=A0pspell()=C2=A0 =C2=A0 =C2=A0 =C2=A0{ _mv_ext pspell; }
=C2=A0readline()=C2=A0 =C2=A0 =C2=A0{ _mv_ext readline; }
-session()=C2=A0 =C2=A0 =C2=A0 { _mv_ext session; }
=C2=A0shmop()=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 { _mv_= ext shmop; }
=C2=A0snmp()=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0{ _mv_ext snmp; }
=C2=A0soap()=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0{ _mv_ext soap $pkgname-xml; = }
--
2.1.4


--
***

Esta mensagem, incluindo seus anexos, pode conter informa=C3=A7=C3=B5es con= fidenciais
e/ou privilegiadas. Se voc=C3=AA n=C3=A3o for a pessoa autorizada a receber= esta
mensagem, n=C3=A3o pode usar, copiar ou divulgar as informa=C3=A7=C3=B5es n= ela contidas ou
tomar qualquer a=C3=A7=C3=A3o baseada nessas informa=C3=A7=C3=B5es. Caso es= ta mensagem tenha
sido recebida por engano, por favor avise imediatamente o remetente,
respondendo o e-mail e em seguida elimine-a do seu sistema. Agradecemos sua=
coopera=C3=A7=C3=A3o.

This message, including any attachments, may contain confidential and/or privileged information. If you are not the addressee or authorized to
receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have
received this message in error, please advise the sender immediately by
reply e-mail and delete this message.Thank you for your cooperation


---
Unsubscribe:=C2=A0 alpine-aports+unsubscribe@lists.alpinelinux.= org
Help:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0alpine-aports+help@lists.alpine= linux.org
---




***

Esta mensagem, incluindo seus anexos, pode cont= er informa=C3=A7=C3=B5es=20 confidenciais e/ou privilegiadas. Se voc=C3=AA n=C3=A3o for a pessoa autori= zada a receber=20 esta mensagem, n=C3=A3o pode usar, copiar ou divulgar as informa=C3=A7=C3= =B5es nela contidas ou=20 tomar qualquer a=C3=A7=C3=A3o baseada nessas informa=C3=A7=C3=B5es. Caso es= ta mensagem tenha sido=20 recebida por engano, por favor avise imediatamente o remetente, respondendo= o=20 e-mail e em seguida elimine-a do seu sistema. Agradecemos sua=20 coopera=C3=A7=C3=A3o.

This message, including any attachments, may c= ontain=20 confidential and/or privileged information. If you are not the addressee or= =20 authorized to receive this for the addressee, you must not use, copy, discl= ose=20 or take any action based on this message or any information herein. If you = have=20 received this message in error, please advise the sender immediately by rep= ly=20 e-mail and delete this message.Thank you for your cooperation
<= /div>



***

Esta mensagem, incluindo seus anexos, pode cont= er informa=C3=A7=C3=B5es=20 confidenciais e/ou privilegiadas. Se voc=C3=AA n=C3=A3o for a pessoa autori= zada a receber=20 esta mensagem, n=C3=A3o pode usar, copiar ou divulgar as informa=C3=A7=C3= =B5es nela contidas ou=20 tomar qualquer a=C3=A7=C3=A3o baseada nessas informa=C3=A7=C3=B5es. Caso es= ta mensagem tenha sido=20 recebida por engano, por favor avise imediatamente o remetente, respondendo= o=20 e-mail e em seguida elimine-a do seu sistema. Agradecemos sua=20 coopera=C3=A7=C3=A3o.

This message, including any attachments, may c= ontain=20 confidential and/or privileged information. If you are not the addressee or= =20 authorized to receive this for the addressee, you must not use, copy, discl= ose=20 or take any action based on this message or any information herein. If you = have=20 received this message in error, please advise the sender immediately by rep= ly=20 e-mail and delete this message.Thank you for your cooperation
--001a113eff02e13478052ecfb459-- --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---