PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Web Services » SOAP » Bug #7430

WSDL Cache directory has ENV issues

Details

Submitted2006-04-20 01:37 UTC
Fromandrew dot meee at abr dot com dot au
Assignedyunosh
StatusClosed
PackageSOAP
PHP Version4.4.1
OSLinux
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.