ID: 45084
Updated by: j...@php.net
Reported By: neumann at ntech dot com dot br
-Status: Open
+Status: Feedback
Bug Type: SOAP related
Operating System: Windows Vista
PHP Version: 5.2.6
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
And instead of localhost try 127.0.0.1 :)
Previous Comments:
[2008-08-12 23:24:54] neumann at ntech dot com dot br
the error returned is: PHP Fatal error: Maximum execution time of 30
seconds exceeded in C:\\wwwroot\\soap\\HelloClient.php The error
don't occurs with the same script running at XP or Linux. I turn off the
firewall, was increased the PHP parameter 'max_execution_time' but
allways return the same error.
[2008-06-02 12:08:32] albert at insad dot nl
Did you check your firewall rules?
To me it looks like Vista is blocking you :)
[2008-06-02 06:42:35] ka...@php.net
Have you checked your error log for any errors? When I try to run the
reproduce script I get a maximum execution error, I've seen on some
setups that PHP errors mixed with output buffering may cause HTTP 500
errors.
[02-Jun-2008 08:37:56] PHP Fatal error: Maximum execution time of 30
seconds exceeded in C:\webserver\www\HelloClient.php on line 9
[2008-05-24 00:59:42] neumann at ntech dot com dot br
Description:
If I execute HelloClient.php with the HelloServer.php at windows vista,
don't work(error 500). If I Copy the same HelloServer.php to another
server, and execute the same HelloClient.php at Windows Vista, it work
well...
PS:. Remember to change the param location in HelloClient.php, point it
to the HelloServer.php location URL.
Reproduce code:
---
?php #HelloClient.php
$client = new SoapClient(null, array(
'location' = http://localhost/soap/HelloServer.php;,
'uri' = http://localhost/;,
'trace'= 1 ));
$return = $client-__soapCall(hello,array(world));
echo $return;
?
*
?php #HelloServer.php
function hello($someone) {
return new SoapParam(Hello . $someone . !,myparam);
}
$server = new SoapServer(null,
array('uri' = http://localhost/;));
$server-addFunction(hello);
$server-handle();
?
Expected result:
display the text: Hello world!
Actual result:
--
http server error 500
--
Edit this bug report at http://bugs.php.net/?id=45084edit=1