[phpxmlrpc] Re: About PHP and XML RPC

2001-11-19 Thread Edd Dumbill

Have you been able to use curl/ssl outside of php xml-rpc?  At first
glance, this doesn't look as though it's a problem with the xml-rpc
library.

-- Edd


On Mon, 2001-11-19 at 19:36, Rodrigo Mello wrote:
> [root@money shBroker]# php-4.0.2 clientSend.php 
> Segmentation fault (core dumped)
> 
> 
> Running with strace
> open("/dev/urandom", O_RDONLY)  = 6
> read(6, "|\355\221\303\3\n\221mEu\345\31\367\340\316\335J /\321"..., 20) =
> 20
> close(6)= 0
> getuid()= 0
> time(NULL)  = 1006202169
> time(NULL)  = 1006202169
> getpid()= 5222
> brk(0x82dd000)  = 0x82dd000
> brk(0x82e2000)  = 0x82e2000
> brk(0x82e7000)  = 0x82e7000
> getpid()= 5222
> getpid()= 5222
> write(5, "\200\200\1\3\1\0W\0\0\0 \0\0\26\0\0\23\0\0\n\7\0\300\0"...,
> 130) = 130
> read(5, "\26\3\1\0J\2\0", 7)= 7
> time(NULL)  = 1006202169
> time(NULL)  = 1006202169
> getpid()= 5222
> read(5, "\0F\3\1;\371m\365\306\1777&\246\221\214fB\f\\\243\245\n"...,
> 72) = 72
> read(5, "\26\3\1\3D", 5)= 5
> read(5, "\v\0\3@\0\3=\0\3:0\202\00360\202\2\237\240\3\2\1\2\2\1"...,
> 836) = 836
> getpid()= 5222
> read(5, "\26\3\1\1\215", 5) = 5
> read(5, "\f\0\1\211\0\200\346\226\235=I[\343,|\361\200\303\275\324"...,
> 397) = 397
> brk(0x82e8000)  = 0x82e8000
> read(5, "\26\3\1\0\4", 5)   = 5
> read(5, "\16\0\0\0", 4) = 4
> time([1006202169])  = 1006202169
> getpid()= 5222
> brk(0x82e9000)  = 0x82e9000
> brk(0x82ea000)  = 0x82ea000
> write(5, "\26\3\1\0\206\20\0\0\202\0\200\f\324V\301\17^LS\210\332"...,
> 190) = 190
> read(5, "\24\3\1\0\1", 5)   = 5
> read(5, "\1", 1)= 1
> read(5, "\26\3\1\0(", 5)= 5
> read(5, "\355\374n\236t\221mHO\227m\211x\v\t.B\376\352\261\326-"..., 40) =
> 40
> gettimeofday({1006202170, 105293}, NULL) = 0
> gettimeofday({1006202170, 105460}, NULL) = 0
> write(5, "\27\3\1\4\310\252j\t\6\314\342\303\313\362O\26\243b\303"...,
> 1229) = 1229
> gettimeofday({1006202170, 106686}, NULL) = 0
> gettimeofday({1006202170, 106811}, NULL) = 0
> gettimeofday({1006202170, 106936}, NULL) = 0
> select(6, [5], [], NULL, {1, 0})= 1 (in [5], left {0, 92})
> read(5, "\27\3\1\2p", 5)= 5
> read(5, "\25S;QT\276\267\311\t\250\tFH6C2u\226p\33\342\300\263\256"...,
> 624) = 624
> gettimeofday({1006202170, 195371}, NULL) = 0
> gettimeofday({1006202170, 195509}, NULL) = 0
> gettimeofday({1006202170, 195659}, NULL) = 0
> write(4, "HTTP/1.1 200 OK\r\nDate: Mon, 19 N"..., 586) = 586
> _llseek(4, 0, [0], SEEK_SET)= 0
> fstat(4, {st_mode=S_IFREG|0600, st_size=586, ...}) = 0
> read(4, "HTTP/1.1 200 OK\r\nDate: Mon, 19 N"..., 4096) = 586
> read(4, "", 4096)   = 0
> read(4, "", 4096)   = 0
> --- SIGSEGV (Segmentation fault) ---
> +++ killed by SIGSEGV +++
> 
> 
> =
> =  Rodrigo Mello=
> =RadiumSystems.com  =
> =
> 
> On 19 Nov 2001, Edd Dumbill wrote:
> 
> > On Mon, 2001-11-19 at 19:12, Rodrigo Mello wrote:
> > > Edd,
> > > 
> > > I have compiled PHP 4.0.2, 4.0.4 and 4.0.5 with CURL 7.8.1 and 7.9.1 ans 
> > > OPENSSL to try to use HTTPS support with XML RPC, but it didn't work.
> > > 
> > > Do you know ehat version of PHP, CURL and OPENSSL I may use?
> > 
> > We would need to know a better error report than "didn't work" in order
> > to diagnose your problem.  Please also direct questions to the php
> > xml-rpc mailing list, to which I copy this reply.
> > 
> > -- Edd
> > 
> > 
> 
> 




msg00045/pgp0.pgp
Description: PGP signature


[phpxmlrpc] Re: About PHP and XML RPC

2001-11-19 Thread Edd Dumbill

On Mon, 2001-11-19 at 19:12, Rodrigo Mello wrote:
> Edd,
> 
> I have compiled PHP 4.0.2, 4.0.4 and 4.0.5 with CURL 7.8.1 and 7.9.1 ans 
> OPENSSL to try to use HTTPS support with XML RPC, but it didn't work.
> 
> Do you know ehat version of PHP, CURL and OPENSSL I may use?

We would need to know a better error report than "didn't work" in order
to diagnose your problem.  Please also direct questions to the php
xml-rpc mailing list, to which I copy this reply.

-- Edd




msg00043/pgp0.pgp
Description: PGP signature