What could be the potential reasons for the missing $DOCUMENT_ROOT variable in PHP Info on IIS6/PHP 4.3.9?
The missing $DOCUMENT_ROOT variable in PHP Info on IIS6/PHP 4.3.9 could be due to the server configuration not properly setting the DOCUMENT_ROOT variable. To solve this issue, you can manually set the DOCUMENT_ROOT variable in your PHP script using the $_SERVER['DOCUMENT_ROOT'] superglobal.
<?php
$DOCUMENT_ROOT = $_SERVER['DOCUMENT_ROOT'];
echo "Document Root: $DOCUMENT_ROOT";
?>