Page 1 of 1
Virtual Directory Support
Posted: Thu May 10, 2007 11:40 am
by alex.barylski
Noticed this this morning right at the top of my phpinfo() dump...
WTF is it? I've Googled like crazy and haven't found much. Seems to be for support of a
virtual() when running PHP as an Apache module???
Anyone have any clue as to what this setting is for? Can you explain as detailed as possible, please.
Cheers

Posted: Thu May 10, 2007 11:42 am
by Jenk
http://php.net/virtual
all the details are there. Akin to curl()
Posted: Fri May 11, 2007 5:23 pm
by alex.barylski
Hmmm...cool, thanks for that

Posted: Fri May 11, 2007 7:22 pm
by volka
Virtual Directory Support is not related to virtual() but to the actual implementation of some file/directory macros used by zend/php and some php modules.
Virtual Directory Support off -> php relies on the c library functions for resolving the current working directory
Virtual Directory Support off -> php uses the tsrm implementation that keeps track of the current working directory on a per thread level.
Posted: Fri May 11, 2007 9:09 pm
by alex.barylski
That makes more sense
Thanks

Posted: Fri May 11, 2007 10:59 pm
by volka
oops, copy&paste error.
Virtual Directory Support on -> php uses the tsrm implementation that keeps track of the current working directory on a per thread level.