Jump to content

dmalloy

New Members
  • Posts

    2
  • Joined

  • Last visited

dmalloy's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Christian, Thank you for the reply. The variables present in the output that you requested appear at the end of this post. Do you know why $_SERVER['DOCUMENT_ROOT'] is unavailable in my environment and how I might enable it? [LD_LIBRARY_PATH] [FCGI_ROLE] [HTTP_ACCEPT] [HTTP_ACCEPT_LANGUAGE] [HTTP_USER_AGENT] [HTTP_ACCEPT_ENCODING] [HTTP_HOST] [HTTP_CONNECTION] [PATH] [TZ] [sERVER_SOFTWARE] [sERVER_PORT] [sERVER_NAME] [sERVER_URL] [REMOTE_HOST] [REMOTE_ADDR] [HTTPS] [GATEWAY_INTERFACE] [sERVER_PROTOCOL] [REQUEST_METHOD] [REQUEST_URI] [sCRIPT_NAME] [sCRIPT_FILENAME] [PATH_TRANSLATED] [sERVER_HOSTNAME] [sERVER_ADDR] [php_SELF] [REQUEST_TIME]
  2. I am attempting to host a vendor developed PHP web application in a java System Web Server (Sun Java System Web Server 7.0U5) environment. The application is dependant upon the existance of the $_SERVER['DOCUMENT_ROOT']. It appears that this variable is not present in our environment. I've researched the issue extensively however I cannot identify how to enable the existance of this variable. My environment information follow: java System Web Server (Sun Java System Web Server 7.0U5) PHP 5.2.6 (Installed using Sun's Coolstack) FastCGI FastCGI responder line from obj.conf file: Service fn="responder-fastcgi" type="magnus-internal/php" app-path="/path/to/coolstack/php5/bin/php-cgi" bind-path="$(lc($urlhost))" app-env="LD_LIBRARY_PATH=/usr/apps/coolstack/php5/lib/php" app-env="DOCUMENT_ROOT=/path/to/virtualhost/documentroot" Can someone direct me how to make the $_SERVER['DOCUMENT_ROOT'] variable available in my environment? Thank you in advance.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.