Trying to install wsdl2php
Moderator: General Moderators
Trying to install wsdl2php
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
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
??
-zlib=/etc/zlib
??
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Re: Trying to install wsdl2php
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.

Re: Trying to install wsdl2php
Maybe do a search on the PEAR site? Do they have forums?
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Re: Trying to install wsdl2php
I'll try the PEAR forum.