Virtual Directory Support

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Virtual Directory Support

Post 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 :)
User avatar
Jenk
DevNet Master
Posts: 3587
Joined: Mon Sep 19, 2005 6:24 am
Location: London

Post by Jenk »

http://php.net/virtual

all the details are there. Akin to curl()
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Post by alex.barylski »

Hmmm...cool, thanks for that :)
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post 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.
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Post by alex.barylski »

That makes more sense :P

Thanks :)
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post 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.
Post Reply