|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-04-23 18:50 UTC] scottmac@php.net
[2008-04-23 22:28 UTC] leeron at devunity dot com
[2008-04-23 22:47 UTC] scottmac@php.net
[2008-04-23 22:55 UTC] scottmac@php.net
[2008-04-24 07:07 UTC] leeron at devunity dot com
[2008-06-30 20:51 UTC] scottmac@php.net
[2008-07-01 07:23 UTC] leeron at devunity dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 23:00:01 2025 UTC |
Description: ------------ I've using darwin, so it's basically "the same" as running on freeBSD. When I run a php containing calls to SVN functions using the php cli *it works fine*, but browsing to the same script on the apache server will cause a bus error. Reproduce code: --------------- <?php $path = dirname(__FILE__).'/tmp/'; //checkout svn project $success = svn_checkout('http://orderpics.googlecode.com/svn/trunk/', $path); if($success) { if ($handle = opendir($path)) { echo "Directory handle: $handle\n"; echo "Files:\n"; while (false !== ($file = readdir($handle))) { echo "$file\n"; } } } Expected result: ---------------- (1) files added to tmp/ dir. (2) ouput: Directory handle: Resource id #4 Files: . .. .svn m.cmd PicOrdering.py setup.py test.py Actual result: -------------- on apache's error_log: [notice] child pid 272 exit signal Bus error (10)