Patches for aports can be sent to this list

4 2

[alpine-aports] [PATCH] testing/php7: Enabled session by default

Fabio da Silva Ribeiro
Details
Message ID
<1458363165-20352-1-git-send-email-silva.ribeiro@dafiti.com.br>
Sender timestamp
1458363165
DKIM signature
missing
Download raw message
Patch: +1 -3
---
 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="$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=shared \
 		--enable-phar=shared \
 		--with-pspell=shared \
-		--enable-session=shared \
+		--enable-session \
 		--enable-shmop=shared \
 		--with-snmp=shared \
 		--enable-soap=shared \
@@ -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ções confidenciais 
e/ou privilegiadas. Se você não for a pessoa autorizada a receber esta 
mensagem, não pode usar, copiar ou divulgar as informações nela contidas ou 
tomar qualquer ação baseada nessas informações. 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ção.

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:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Fabio da Silva Ribeiro
Details
Message ID
<CAH2bcnF3-CXzWdjneLNhJ8Wm2GxCKo8y86Dc=WWdRAD9EZ1LQA@mail.gmail.com>
In-Reply-To
<CAKTwcDM2BF9ZEX5M7m5tuHdY6X8rvPn0hhW71iU9v2Xm-z6r7g@mail.gmail.com> (view parent)
Sender timestamp
1458835194
DKIM signature
missing
Download raw message
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 <valery.kartel@gmail.com>:

> 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="$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=shared \
>>                 --enable-phar=shared \
>>                 --with-pspell=shared \
>> -               --enable-session=shared \
>> +               --enable-session \
>>                 --enable-shmop=shared \
>>                 --with-snmp=shared \
>>                 --enable-soap=shared \
>> @@ -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ções
>> confidenciais
>> e/ou privilegiadas. Se você não for a pessoa autorizada a receber esta
>> mensagem, não pode usar, copiar ou divulgar as informações nela contidas
>> ou
>> tomar qualquer ação baseada nessas informações. 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ção.
>>
>> 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:  alpine-aports+unsubscribe@lists.alpinelinux.org
>> Help:         alpine-aports+help@lists.alpinelinux.org
>> ---
>>
>>
>

-- 
***

Esta mensagem, incluindo seus anexos, pode conter informações confidenciais 
e/ou privilegiadas. Se você não for a pessoa autorizada a receber esta 
mensagem, não pode usar, copiar ou divulgar as informações nela contidas ou 
tomar qualquer ação baseada nessas informações. 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ção.

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
Fabio da Silva Ribeiro
Details
Message ID
<CAH2bcnE1NDH-8kfT3LbgkU=prPULfeSgg52R-G2G5854bzyvfQ@mail.gmail.com>
In-Reply-To
<CAKTwcDOs7GFoCnBVou812+LmgKcPujGO=S_RTW+Bm1=24miw_w@mail.gmail.com> (view parent)
Sender timestamp
1458844491
DKIM signature
missing
Download raw message
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 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
> <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 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 <valery.kartel@gmail.com>:
>>
>>> 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="$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=shared \
>>>>                 --enable-phar=shared \
>>>>                 --with-pspell=shared \
>>>> -               --enable-session=shared \
>>>> +               --enable-session \
>>>>                 --enable-shmop=shared \
>>>>                 --with-snmp=shared \
>>>>                 --enable-soap=shared \
>>>> @@ -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ções
>>>> confidenciais
>>>> e/ou privilegiadas. Se você não for a pessoa autorizada a receber esta
>>>> mensagem, não pode usar, copiar ou divulgar as informações nela
>>>> contidas ou
>>>> tomar qualquer ação baseada nessas informações. 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ção.
>>>>
>>>> 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:  alpine-aports+unsubscribe@lists.alpinelinux.org
>>>> Help:         alpine-aports+help@lists.alpinelinux.org
>>>> ---
>>>>
>>>>
>>>
>>
>> ***
>>
>> Esta mensagem, incluindo seus anexos, pode conter informações
>> confidenciais e/ou privilegiadas. Se você não for a pessoa autorizada a
>> receber esta mensagem, não pode usar, copiar ou divulgar as informações
>> nela contidas ou tomar qualquer ação baseada nessas informações. 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ção.
>>
>> 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
>>
>
>

-- 
***

Esta mensagem, incluindo seus anexos, pode conter informações confidenciais 
e/ou privilegiadas. Se você não for a pessoa autorizada a receber esta 
mensagem, não pode usar, copiar ou divulgar as informações nela contidas ou 
tomar qualquer ação baseada nessas informações. 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ção.

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
Valery Kartel
Details
Message ID
<CAKTwcDM2BF9ZEX5M7m5tuHdY6X8rvPn0hhW71iU9v2Xm-z6r7g@mail.gmail.com>
In-Reply-To
<1458363165-20352-1-git-send-email-silva.ribeiro@dafiti.com.br> (view parent)
Sender timestamp
1458827085
DKIM signature
missing
Download raw message
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="$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=shared \
>                 --enable-phar=shared \
>                 --with-pspell=shared \
> -               --enable-session=shared \
> +               --enable-session \
>                 --enable-shmop=shared \
>                 --with-snmp=shared \
>                 --enable-soap=shared \
> @@ -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ções confidenciais
> e/ou privilegiadas. Se você não for a pessoa autorizada a receber esta
> mensagem, não pode usar, copiar ou divulgar as informações nela contidas ou
> tomar qualquer ação baseada nessas informações. 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ção.
>
> 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:  alpine-aports+unsubscribe@lists.alpinelinux.org
> Help:         alpine-aports+help@lists.alpinelinux.org
> ---
>
>
Valery Kartel
Details
Message ID
<CAKTwcDOs7GFoCnBVou812+LmgKcPujGO=S_RTW+Bm1=24miw_w@mail.gmail.com>
In-Reply-To
<CAH2bcnF3-CXzWdjneLNhJ8Wm2GxCKo8y86Dc=WWdRAD9EZ1LQA@mail.gmail.com> (view parent)
Sender timestamp
1458836441
DKIM signature
missing
Download raw message
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
<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 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 <valery.kartel@gmail.com>:
>
>> 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="$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=shared \
>>>                 --enable-phar=shared \
>>>                 --with-pspell=shared \
>>> -               --enable-session=shared \
>>> +               --enable-session \
>>>                 --enable-shmop=shared \
>>>                 --with-snmp=shared \
>>>                 --enable-soap=shared \
>>> @@ -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ções
>>> confidenciais
>>> e/ou privilegiadas. Se você não for a pessoa autorizada a receber esta
>>> mensagem, não pode usar, copiar ou divulgar as informações nela contidas
>>> ou
>>> tomar qualquer ação baseada nessas informações. 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ção.
>>>
>>> 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:  alpine-aports+unsubscribe@lists.alpinelinux.org
>>> Help:         alpine-aports+help@lists.alpinelinux.org
>>> ---
>>>
>>>
>>
>
> ***
>
> Esta mensagem, incluindo seus anexos, pode conter informações
> confidenciais e/ou privilegiadas. Se você não for a pessoa autorizada a
> receber esta mensagem, não pode usar, copiar ou divulgar as informações
> nela contidas ou tomar qualquer ação baseada nessas informações. 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ção.
>
> 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
>