PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

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.