Re: [PHP-DEV] SQLite 3.14

2016-09-02 Thread Christoph M. Becker
ems to be the proper way to test for >> open_basedir restrictions, see >> <https://github.com/php/php-src/blob/PHP-7.0.11/tests/ >> security/open_basedir.inc#L12-L14>. >> >> Should that be changed for PHP-5.6+? >> >> Cheers! >> >>> Thoug

Re: [PHP-DEV] SQLite 3.14

2016-09-02 Thread Davey Shafik
Add a: chdir(__DIR__); at the top. > > Indeed, using chdir() seems to be the proper way to test for > open_basedir restrictions, see > <https://github.com/php/php-src/blob/PHP-7.0.11/tests/ > security/open_basedir.inc#L12-L14>. > > Should that be changed for PHP-5.6+? > >

Re: [PHP-DEV] SQLite 3.14

2016-09-02 Thread Christoph M. Becker
Indeed, using chdir() seems to be the proper way to test for open_basedir restrictions, see <https://github.com/php/php-src/blob/PHP-7.0.11/tests/security/open_basedir.inc#L12-L14>. Should that be changed for PHP-5.6+? Cheers! > Thoughts? > > On Fri, Aug 19, 2016 at 5:31 PM

Re: [PHP-DEV] SQLite 3.14

2016-08-30 Thread Davey Shafik
Change the path to be "../../../../../bad" to ensure it's outside the top-level of the script. Add a: chdir(__DIR__); at the top. Thoughts? On Fri, Aug 19, 2016 at 5:31 PM, Anatol Belski <anatol@belski.net> wrote: > Hi Davey, > > > -Original Message- > > Fr

RE: [PHP-DEV] SQLite 3.14

2016-08-19 Thread Anatol Belski
Hi Davey, > -Original Message- > From: Davey Shafik [mailto:da...@php.net] > Sent: Friday, August 19, 2016 7:09 PM > To: Christoph M. Becker <cmbecke...@gmx.de> > Cc: Anatol Belski <anatol@belski.net>; internals@lists.php.net > Subject: Re: [PHP-DE

Re: [PHP-DEV] SQLite 3.14

2016-08-19 Thread Christoph M. Becker
On 19.08.2016 at 19:09, Davey Shafik wrote: > I got the failure multiple times in my Debian Jessie docker container that > I use for builds - you can check it out yourself at > https://github.com/dshafik/php-build to see the setup. > > Thanks for looking into this! Of course! And thanks for

Re: [PHP-DEV] SQLite 3.14

2016-08-19 Thread Davey Shafik
Argh! Apologies for autocomplete adding that 'e' to your name! - Davey On Sat, Aug 20, 2016 at 03:09 Davey Shafik wrote: > Christophe, > > I got the failure multiple times in my Debian Jessie docker container that > I use for builds - you can check it out yourself at >

Re: [PHP-DEV] SQLite 3.14

2016-08-19 Thread Davey Shafik
Christophe, I got the failure multiple times in my Debian Jessie docker container that I use for builds - you can check it out yourself at https://github.com/dshafik/php-build to see the setup. Thanks for looking into this! - Davey On Sat, Aug 20, 2016 at 01:35 Christoph M. Becker

Re: [PHP-DEV] SQLite 3.14

2016-08-19 Thread Christoph M. Becker
Hi Davey! On 19.08.2016 at 15:32, Davey Shafik wrote: > I saw this failure while packaging 7.1.0beta3, and assume it might be > related to your update: > > FAIL SQLite3 open_basedir checks > [ext/sqlite3/tests/sqlite3_21_security.phpt] > > DIFF > 006- > 007- Warning:

Re: [PHP-DEV] SQLite 3.14

2016-08-19 Thread Davey Shafik
Christoph M. Becker [mailto:cmbecke...@gmx.de] > >> Sent: Monday, August 8, 2016 11:23 PM > >> To: internals@lists.php.net; Anatol Belski <anatol@belski.net> > >> Subject: [PHP-DEV] SQLite 3.14 > >> > >> Hi! > >> > >> SQLite 3.14 h

Re: [PHP-DEV] SQLite 3.14

2016-08-10 Thread Christoph M. Becker
On 10.08.2016 at 20:51, Rasmus Schultz wrote: > On Wed, Aug 10, 2016 at 4:08 PM, Christoph M. Becker > wrote: > >> Sounds reasonable, Anotol. Thanks. So I'm going to update 7.1+ ASAP. > > Are you going to include any plugins? > > I noticed today, SQLite has interesting

Re: [PHP-DEV] SQLite 3.14

2016-08-10 Thread Rasmus Schultz
On Wed, Aug 10, 2016 at 4:08 PM, Christoph M. Becker wrote: > Sounds reasonable, Anotol. Thanks. So I'm going to update 7.1+ ASAP. Are you going to include any plugins? I noticed today, SQLite has interesting optional features - in particular, the "json1" plug-in looks

Re: [PHP-DEV] SQLite 3.14

2016-08-10 Thread Christoph M. Becker
On 10.08.2016 at 16:01, Anatol Belski wrote: > Hi Christoph, > >> -Original Message- >> From: Christoph M. Becker [mailto:cmbecke...@gmx.de] >> Sent: Monday, August 8, 2016 11:23 PM >> To: internals@lists.php.net; Anatol Belski <anatol....@belski.net&g

RE: [PHP-DEV] SQLite 3.14

2016-08-10 Thread Anatol Belski
Hi Christoph, > -Original Message- > From: Christoph M. Becker [mailto:cmbecke...@gmx.de] > Sent: Monday, August 8, 2016 11:23 PM > To: internals@lists.php.net; Anatol Belski <anatol@belski.net> > Subject: [PHP-DEV] SQLite 3.14 > > Hi! > > SQ

[PHP-DEV] SQLite 3.14

2016-08-08 Thread Christoph M. Becker
Hi! SQLite 3.14 has been released today. It brings some improvements and new features, and fixes a few bugs, see . I think PHP-7.1 should be updated, but I'm not sure about PHP-7.0, even though I found no regression when running the sqlite3 and