C:\Program Files (x86)\Zend\Apache2\htdocs\sample\documentroot.php
http://localhost:65001/sample/documentroot.php
<?php
echo $_SERVER['DOCUMENT_ROOT'];
?>
Output:
C:/Program Files (x86)/Zend/Apache2/htdocs
What I really want DOCUMENT_ROOT to be when I run a file from that location is:
C:\Program Files (x86)\Zend\Apache2\htdocs\sample
-----------------------------------------------------------------------------------------------------
Is there some way I can get that out of Zend Server 6? My application just can't run any other way and I don't really want to start modifying code to migrate from one server to another....
Thanks in advance !!! :)

