Page 1 of 1

Trying to install wsdl2php

Posted: Mon Dec 01, 2008 5:28 pm
by swadams
I keep getting “The extension ‘zlib’ couldn’t be found. Please make sure your version of PHP was built with ‘zlib’ support.” from the pear installer when I try to install wsdl2php. I've run the test script at http://us3.php.net/manual/zh/ref.zlib.php and it worked, so my version of PHP clearly is built with zlib support. Does anyone have any idea what might be causing the error message?

Re: Trying to install wsdl2php

Posted: Tue Dec 02, 2008 10:46 am
by pickle
Maybe wsdl2php is looking for the zlib library in a specific spot, and you've got it installed elsewhere. Is there an option to specify where zlib is found, something like:

-zlib=/etc/zlib

??

Re: Trying to install wsdl2php

Posted: Tue Dec 02, 2008 11:53 am
by swadams
As far as I can tell, there isn't any such option. I used the "pear help install" command and didn't see anything like that listed.

:banghead:

Re: Trying to install wsdl2php

Posted: Tue Dec 02, 2008 12:25 pm
by pickle
Maybe do a search on the PEAR site? Do they have forums?

Re: Trying to install wsdl2php

Posted: Tue Dec 02, 2008 4:07 pm
by swadams
I'll try the PEAR forum.