[PHP-SOAP-DEV] 0.1.1 compiles as dso.
Status: Alpha
Brought to you by:
rodif_bl
From: Andrey H. <ahr...@ic...> - 2002-05-02 23:32:44
|
Good news. I've succeeded to compile the soap extension in the libphp4.so and the example with hello_world_client.php and hello_world_server.php is working - no failure like before. I only decompressed in the ext directory, then ./buildconf and after that edited my config.nice to add '--enable-soap' \ . I waited for errors on the make but no one appeared. hello_world_client.php <?php error_reporting(E_ALL); $hello = new SoapObject("http://192.168.1.40/hello_world_server.php", "urn:HelloWord"); echo $hello->hello_soap("alala"); //var_dump($hello); //var_dump(get_class_methods('SoapServer')); ?> <?php $server = new SoapServer("urn:HelloWord"); $server->addfunction("hello_soap"); $server->handle(); function hello_soap($message){ return "PHP-SOAP says ($message)"; } ?> Tommorow I'll some simple benchmarks. Brad, look here some some info about config.m4 unless you know that. http://php.net/manual/en/zend.build.php Andrey |