[PHP-DEV] Re: mod_files.sh patch

2009-08-02 Thread Eddie Drapkin
On Mon, Aug 3, 2009 at 1:20 AM, Eddie Drapkin wrote: > There's a script, mod_files.sh, in ext/session for creating directory > tree with depth X for sessions.  As it stands, it's pretty poorly > documented and very basic.  I got exceptionally bored and rewrote most > of it, the patch is attached.  

[PHP-DEV] mod_files.sh patch

2009-08-02 Thread Eddie Drapkin
There's a script, mod_files.sh, in ext/session for creating directory tree with depth X for sessions. As it stands, it's pretty poorly documented and very basic. I got exceptionally bored and rewrote most of it, the patch is attached. It runs fine for me in linux (with sh version 4.0). I don't

Re: [PHP-DEV] fopen_wrappers.c DOCUMENT_ROOT .htaccess error

2009-08-02 Thread daniel
Jani Taskinen wrote: [snip] You obviously do not have the correct sources then. Try get them directly using SVN: # svn co http://svn.php.net/repository/php/php-src/branches/PHP_5_2/ And if those don't work either, you need to provide a GDB backtrace, the strace is useless for this. Also make s

Re: [PHP-DEV] fopen_wrappers.c DOCUMENT_ROOT .htaccess error

2009-08-02 Thread Jani Taskinen
Rasmus Lerdorf wrote: Jani Taskinen wrote: Dan Zoltak wrote: Jani Taskinen wrote: [snip] There is a bug in 5.2.10 that might cause this, try latest SVN checkout of PHP_5_2 branch, it should be fixed now. I've download and tested the latest snap (php5.2-200908020630) and I am still having the

Re: [PHP-DEV] fopen_wrappers.c DOCUMENT_ROOT .htaccess error

2009-08-02 Thread Rasmus Lerdorf
Jani Taskinen wrote: > Dan Zoltak wrote: >> Jani Taskinen wrote: >>> [snip] >>> There is a bug in 5.2.10 that might cause this, try latest SVN >>> checkout of PHP_5_2 branch, it should be fixed now. >> I've download and tested the latest snap (php5.2-200908020630) and I >> am still having the same

[PHP-DEV] Weak references - object destruction callback?

2009-08-02 Thread Oskar Eisemuth
Hi I try to write a a weak reference extension for php5.3 to break circular object structures, so far I have a test implementation that seems to work fine with my first tests. My current system uses a new base class that returns a new resource via a getWeakRef method. This resource can be

Re: [PHP-DEV] fopen_wrappers.c DOCUMENT_ROOT .htaccess error

2009-08-02 Thread Jani Taskinen
Dan Zoltak wrote: Jani Taskinen wrote: [snip] There is a bug in 5.2.10 that might cause this, try latest SVN checkout of PHP_5_2 branch, it should be fixed now. I've download and tested the latest snap (php5.2-200908020630) and I am still having the same issue. I have performed an strace with

Re: [PHP-DEV] fopen_wrappers.c DOCUMENT_ROOT .htaccess error

2009-08-02 Thread daniel
Jani Taskinen wrote: [snip] There is a bug in 5.2.10 that might cause this, try latest SVN checkout of PHP_5_2 branch, it should be fixed now. I've download and tested the latest snap (php5.2-200908020630) and I am still having the same issue. I have performed an strace with the following r