Mantis - Quercus
Viewing Issue Advanced Details
1422 minor always 10-23-06 08:46 10-23-06 10:57
nam  
 
normal  
closed 3.1.0  
fixed  
none    
none 3.1.0  
0001422: $_SERVER missing user-defined server environment variables
(rep by M. Levin)

We are trying to make this site run under Quercus. So I set the environment variable before starting Resin by doing the following:

export WDSPHPROOTPATH=/www/wdsphproot/http
java -jar lib/resin.jar

Unfortunately, when we run this same code under Quercus, the script is unable to resolve the environment variable and thus is unable to construct the correct path to our scripts directory (and consequently, we get an error that '/scripts/docs/database/DBConnection.php' cannot be found because the call to getenv returns nothing).

Notes
(0001546)
nam   
10-23-06 10:57   
php/0827