Re: Strict session?
| From: | Yasuo Ohgaki | Date: | Sun, 04 Dec 2011 10:56:40 +0000 |
| Subject: | Re: Strict session? | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-56754@lists.php.net to get a copy of this message | ||
Hi Stats,
2011/12/4 Stas Malyshev <smalyshev@sugarcrm.com>:
> Hi!
>
>
>> Since it is just adding new separate structure to session module, but
>> PHP itself checks API version number. So users cannot use the same
>> binary module anyway. I should have said API, not ABI.
>>
>> Now it should compile with msession which uses
>> PHP_MOD_SID/PS_MOD_FUNCS_SID.
>
>
> That's the problem. All versions in 5.3.x and 5.4.x lines should be binary
> compatible, means no changes that aren't binary compatible can go into 5.3
> or 5.4.
Sounds fair.
===PHP 5.4-dev (php-src-5.4) compiled sqlite with PHP 5.5-dev (trunk)===
------------------------------------------
[yohgaki@dev php-src]$ ./php -d
extension=/home/yohgaki/svn/oss/php.net/pecl/sqlite/trunk/modules/sqlite.so
-m
[PHP Modules]
<snip>
sockets
SPL
SQLite <==== loaded
standard
sysvmsg
sysvsem
sysvshm
tokenizer
xml
xmlreader
xmlwriter
zlib
[Zend Modules]
------------------------------------------
It loads, but it's segfaulting for session tests.
------------------------------------------
==24315== Process terminating with default action of signal 4 (SIGILL)
==24315== Illegal opcode at address 0x5BF56AA
==24315== at 0x5BF56AA: ??? (in
/home/yohgaki/ext/svn/oss/php.net/pecl/sqlite/trunk/modules/sqlite.so)
==24315== by 0x556C26: php_session_initialize (session.c:485)
==24315== by 0x557304: php_session_start (session.c:1470)
==24315== by 0x5578E8: zif_session_start (session.c:1923)
==24315== by 0x6FF63B: zend_do_fcall_common_helper_SPEC
(zend_vm_execute.h:642)
==24315== by 0x6F3EDF: execute (zend_vm_execute.h:410)
==24315== by 0x68363E: zend_execute_scripts (zend.c:1272)
==24315== by 0x6276A6: php_execute_script (main.c:2414)
==24315== by 0x72DF44: do_cli (php_cli.c:983)
==24315== by 0x72E6B7: main (php_cli.c:1356)
------------------------------------------
Let's see what I can do for it. Please wait for a while.
Regards,
--
Yasuo Ohgaki
yohgaki@ohgaki.net