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 E61FCDCA3F1 for ; Thu, 24 Mar 2016 16:20:43 +0000 (UTC) Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com [209.85.217.171]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 4830EDC029D for ; Thu, 24 Mar 2016 16:20:42 +0000 (UTC) Received: by mail-lb0-f171.google.com with SMTP id bc4so34297251lbc.2 for ; Thu, 24 Mar 2016 09:20:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=kJMgajx9uzCq7PVCbbAwCv5qhCou07fZNsLFF5S4kYE=; b=N1MwmUCnISrQm7OyiaHTnIVy3hW6/vfb/5vDjJAxDTbbx+Wm5OhqEWt6+7I4Fj4eZz WPAvKB9CO7qR7Qo0G/yj0oSTBhesNCQvkvJ9vFBxGtO8peAIRrwJnCsroiO4DtnWLKcL 63T+ty+AhuYZK+vqdqt2iPaEYpk3TT9D+ZJitHzGUmW6zo7+ox+97uqtY30tDScSdeta OeWq8dOxwYIvBZGHW6Qj7zKHs7sAU2AxGyzf+x6gCs/5/6EnXbvhbngmTyCw1eO6/n5A fZ2eliQN5PqoENADwYvL6VRyrrqFKjHVx7K68oponZ8hWxhOoDvb6Om7dO7yLV9Y9MaH aNKQ== 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:date :message-id:subject:from:to:cc; bh=kJMgajx9uzCq7PVCbbAwCv5qhCou07fZNsLFF5S4kYE=; b=H8q6xYefJLQeJcL25iLooMX64EY7NDHBJnOC43eWquM1jfVG2V28rJmCRMQPdx33Qn Ls2FPfwx3OwMpf8WSMx5Qir4egUCTAtPbJ2ELy0scZuj6ZZ14S/WkbCce8WKNnaX67u7 nONKZiLGwdPxofDRUBNYAFQaOTzB9pxMAyskE+K1pb4TOB5Cxrlekyh3gnO9YYYdWRdx XkpSMNSmXK9GS6+wppCR4xFdfpE6uNbYt+KNu124GHbkGSCj75tMyhROMXDDMsoICJY3 +gcC0OsCz638Yzb7SV0ePJVpUbVl6NLGCbJeqDYwRC5aTouxbb+Pk/qjbA8kQs0BdFg7 d4PA== X-Gm-Message-State: AD7BkJLtr3icGejKlcT4x2zeVWdS02dQMvUxHd+W3bQ/dAtI21SJ4szYdQVITyqSzg7CRNDFVaClVcg6m4Wjyw== X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 X-Received: by 10.112.171.70 with SMTP id as6mr3834872lbc.85.1458836441120; Thu, 24 Mar 2016 09:20:41 -0700 (PDT) Received: by 10.25.3.215 with HTTP; Thu, 24 Mar 2016 09:20:41 -0700 (PDT) In-Reply-To: References: <1458363165-20352-1-git-send-email-silva.ribeiro@dafiti.com.br> Date: Thu, 24 Mar 2016 18:20:41 +0200 Message-ID: Subject: Re: [alpine-aports] [PATCH] testing/php7: Enabled session by default From: Valery Kartel To: Fabio da Silva Ribeiro Cc: alpine-aports@lists.alpinelinux.org Content-Type: multipart/alternative; boundary=001a11c38b94dbc5a3052ecdd3bc X-Virus-Scanned: ClamAV using ClamSMTP --001a11c38b94dbc5a3052ecdd3bc Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 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 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 share= d? >> >> 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=B5es >>> confidenciais >>> e/ou privilegiadas. Se voc=C3=AA n=C3=A3o for a pessoa autorizada a rec= eber esta >>> mensagem, n=C3=A3o pode usar, copiar ou divulgar as informa=C3=A7=C3=B5= es nela contidas >>> ou >>> tomar qualquer a=C3=A7=C3=A3o baseada nessas informa=C3=A7=C3=B5es. Cas= o 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/o= r >>> privileged information. If you are not the addressee or authorized to >>> receive this for the addressee, you must not use, copy, disclose or tak= e >>> 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: 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 auto= rizada 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 > --001a11c38b94dbc5a3052ecdd3bc Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Just reproduced it with your php7-memcached build= .

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

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

I'= ll make a patch to rename all ini files for bundled extensions from <ext= name>.ini to 00_<extname>.ini
And you may need to add php7-sess= ion 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 Memcached with session shared, but is not possible, be= cause 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>

--001a11c38b94dbc5a3052ecdd3bc-- --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---