php soap client into session

From: Date: Thu, 25 Nov 2004 10:20:44 +0000
Subject: php soap client into session
Groups: php.soap 
Request: Send a blank email to php-soap+get-1659@lists.php.net to get a copy of this message
hello, i have an surprising behaviour of php5 soapClient. When i record it in the php session, the php script crashes. The apache log reports a seg fault. Here is a sample client that demonstrates the problem : <<<<<<<<< <?php session_start(); $client = new SoapClient("soap10.wsdl", Array('trace'=>1)); ini_set("soap.wsdl_cache_enabled", "0"); // disabling WSDL cache var_dump($client->__getFunctions()); echo("<BR>\n"); var_dump($client->__getTypes()); $_SESSION['phvclient10'] = $client; ?> >>>>>>>>> /etc/httpd/logs/error.log <<<<<<<<< [Thu Nov 25 11:19:04 2004] [notice] child pid 25648 exit signal Segmentation fault (11) [Thu Nov 25 11:19:04 2004] [notice] child pid 25650 exit signal Segmentation fault (11) >>>>>>>>> As i am new to all this soap stuff i may have missed something obvious or well known. Please tell me if it is the case. Can smeone help me please ? -- Philippe

« previous php.soap (#1659) next »