Home » Web Services » SOAP » Bug #7430
WSDL Cache directory has ENV issues
Details
| Submitted | 2006-04-20 01:37 UTC |
|---|---|
| From | andrew dot meee at abr dot com dot au |
| Assigned | yunosh |
| Status | Closed |
| Package | SOAP |
| PHP Version | 4.4.1 |
| OS | Linux |
| Roadmaps | (Not assigned) |
Comments
[2006-04-20 01:37 UTC] andrew dot meee at abr dot com dot au
Description:
------------
In SOAP_WSDL_Cache::_cacheDir() it gets the WSDLCACHE based on $dir = getenv("WSDLCACHE"); Can this be changed to $dir = $_ENV["WSDLCACHE"]; As this would allow the location of cache to be controlled programitcally.
As currently if you do:
$_SERVER["WSDLCACHE"]='/tmp/wsdlcache';
$_ENV["WSDLCACHE"]='/tmp/wsdlcache';
echo getenv("WSDLCACHE");
phpinfo();
exit();
You will see only the PHPINFO.