Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:95317 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 37018 invoked from network); 19 Aug 2016 15:35:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Aug 2016 15:35:22 -0000 Authentication-Results: pb1.pair.com smtp.mail=cmbecker69@gmx.de; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=cmbecker69@gmx.de; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmx.de designates 212.227.17.21 as permitted sender) X-PHP-List-Original-Sender: cmbecker69@gmx.de X-Host-Fingerprint: 212.227.17.21 mout.gmx.net Received: from [212.227.17.21] ([212.227.17.21:53510] helo=mout.gmx.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 48/B2-17996-63727B75 for ; Fri, 19 Aug 2016 11:35:20 -0400 Received: from [192.168.2.103] ([79.243.115.246]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0M7Y9j-1bD40E1uSt-00xMtu; Fri, 19 Aug 2016 17:35:13 +0200 To: Davey Shafik References: <036401d1f30f$afa85a40$0ef90ec0$@belski.net> <3dc2f23a-c4fb-a63d-ab7f-fa841091b313@gmx.de> Cc: Anatol Belski , "internals@lists.php.net" Message-ID: <53037294-e8ed-31c8-95ef-522e02333e7c@gmx.de> Date: Fri, 19 Aug 2016 17:35:31 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:7qb8aisFO6o/TpkW6P995ml3DvCGmpCGh4zC10wBr0e9+pYWRuV B37G1AE95F9Ei5smzEqYUJ7cJNc8QFrfR0BJMm6jwakM4aw20M0dk8VxKbWuzuhkFQYzsRx p8HLbehVBg6hX6T1qxm7YyeKvwsiy7+6uL1pa48/igJg12BbiAyx1rfT1Lxh0GjD1KRKC6y g3LPnkSk3abQSEyfBPitw== X-UI-Out-Filterresults: notjunk:1;V01:K0:RUwNlHBa6lE=:nrcsJhT6M8++IlBz12Q1Fz UcvtrKKwZ+0pYBCbx1iLnMghhxE2br2NPcxO6DE3cc2D44o8lEGimz7Xas/js6bxi97KVMSdq uiEoOVOB9owDLcccnHtDHLN5BYDKdtdLieLLG4eIvAPEAVpT1EP4yI08mTyIYl1riSEHTV8cH DKtCf2pcnSDB9mY7UAdTQv8M99KEmgvQr/baOPWxuHmX4SKLjQhLX/fLwajWivfRgBt167Ue1 aJnEBMgAWNaE3YzmU+htO1iAgEfIBKAfQmhQockU5vznqK3OJ3WDEEe3J/lD6q/aywK3DJ+JH m5Hlyt8MAQ2EY9RgNrzz5wCBY1797U7tEnyJRuUAUDj6dA2cRt7j72KcvrHJhsnXjVe7ZNxij p9s4rGBS7guUH/s9NaKGNFdLELt3nSoZPGRf+cHIe32odYwj7LW9yOavAxr9JOd+F/jIgNVHF cXvnZRCvggFz6CbgINnaGUI7cVxEHpSlBFvyx6S1ICGhBTiyofYthbDdL22GWZfDUFavLvJaq j8WXwGBtIRBu4C9wnRJmaHBihidtPd+oiKiMxw9qLnT96MvNFQYTvKQT9tBfXJn6AoqB4VOnz ap+28rA/onh2WyU8LW1EH2eaqCU9Hokn2c7vKqO1eIltqFpZfvTeR69XsYsq4z7VlSJFnJ9XE mLZI/pj4iL8WWk+aSgkOTNWdDRqX7etqPxrgAyVjnb6EbxLhIQk7IEJqNuaeq1oep9KX+bpLi 8m0MMrtKr5suSc/9IGPqG5BaiN7/2Muq4JUIdWt5EQAFBm/iUs0BcAfDfnlSjgg8Baj8j9ybu 1l/shkn Subject: Re: [PHP-DEV] SQLite 3.14 From: cmbecker69@gmx.de ("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: SQLite3::__construct(): open_basedir restriction in effect. > File(%s) is not within the allowed path(s): (.) in > %ssqlite3_21_security.php on line %d > 008- Exception: open_basedir prohibits opening %s in > %ssqlite3_21_security.php:%d > 009- Stack trace: > 010- #0 %ssqlite3_21_security.php(%d): SQLite3->__construct('%s') > 011- #1 {main} > ========DONE======== > > Can you please look into this in time for RC1? I've just checked again with the tagged PHP-7.1.0beta3, but the test succeeds on my machine. Therefore it's hard for me to assess what is wrong. According to the diff, it appears that the second DB which shouldn't be created according to the open_basedir restriction, is actually successfully created. Anyway, it's rather unlikely that an open_basedir related failure is caused by updating SQLite, as this check is part of the PHP binding[1], which has not been affected by this commit. The issue might be caused by commit cc125f27[2], but that's also somewhat unlikely, because the Travis checks usually succeed generally. Can you reproduce the test failure? In which enviroment? [1] [2] -- Christoph M. Becker