Unable to find the wrapper "https"

1,193 views
Skip to first unread message

Chaost

unread,
Jul 28, 2010, 5:24:04 AM7/28/10
to AdWords API Forum
Hi,

I am trying to run some of the example files. When running
getAllCampaigns.php from command prompt, it works fine.

However, when i run from IE, i get this error:
----------
Notice: SoapClient::SoapClient() [soapclient.soapclient]: Unable to
find the wrapper "https" - did you forget to enable it when you
configured PHP? in D:\Websites\aw_api_php_lib_2.2.0\src\Google\Api\Ads
\Common\Lib\AdsSoapClient.php on line 143

Warning: SoapClient::SoapClient() [soapclient.soapclient]: I/O
warning : failed to load external entity "https://adwords-
sandbox.google.com/api/adwords/cm/v200909/CampaignService?wsdl" in D:
\Websites\aw_api_php_lib_2.2.0\src\Google\Api\Ads\Common\Lib
\AdsSoapClient.php on line 143
--------

Here is my php.ini config for extenions - after trawling the web, i'm
sure every extension needed is loaded:

;extension=php_bz2.dll
extension=php_curl.dll
extension=php_dba.dll
extension=php_dbase.dll
;extension=php_exif.dll
;extension=php_fdf.dll
extension=php_gd2.dll
extension=php_gettext.dll
;extension=php_gmp.dll
;extension=php_ifx.dll
extension=php_imap.dll
;extension=php_interbase.dll
extension=php_ldap.dll
extension=php_mbstring.dll
extension=php_mcrypt.dll
;extension=php_mhash.dll
;extension=php_mime_magic.dll
;extension=php_ming.dll
extension=php_msql.dll
extension=php_mssql.dll
extension=php_mysql.dll
extension=php_mysqli.dll
;extension=php_oci8.dll
extension=php_openssl.dll
;extension=php_pdo.dll
;extension=php_pdo_firebird.dll
;extension=php_pdo_mssql.dll
;extension=php_pdo_mysql.dll
;extension=php_pdo_oci.dll
;extension=php_pdo_oci8.dll
;extension=php_pdo_odbc.dll
;extension=php_pdo_pgsql.dll
;extension=php_pdo_sqlite.dll
extension=php_pgsql.dll
;extension=php_pspell.dll
;extension=php_shmop.dll
;extension=php_snmp.dll
extension=php_soap.dll
extension=php_sockets.dll
;extension=php_sqlite.dll
;extension=php_sybase_ct.dll
;extension=php_tidy.dll
extension=php_xmlrpc.dll
extension=php_xsl.dll
extension=php_zip.dll

I am running PHP 5.2.9-2 on IIS.

Trawling web for solution but so far, no joy. I can't be the only one
with this issue?

Many thanks

Chaost

unread,
Jul 28, 2010, 8:03:08 AM7/28/10
to AdWords API Forum
Right now i have changed the reporting app to run as a batch file,
which works fine.

However, for the future (and possibly to help some other poor sole!)
help with this would still be appreciated.

Cheers

Joshua J. Kugler

unread,
Jul 28, 2010, 11:41:15 AM7/28/10
to adwor...@googlegroups.com, csand...@googlemail.com
On Wednesday 28 July 2010, Chaost elucidated thus:

How are you viewing the PHP in your browser? Are you browsing to the
file on you local hard drive, or are you invoking it via a web server?

It is possible your web server PHP configs and your "batch" configs (php
command line?) are different.

j

--
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/ �ID 0x73B13B6A

AdWords API Advisor

unread,
Jul 29, 2010, 11:21:09 AM7/29/10
to AdWords API Forum
Hi,

I think the problem may be that even though you have the OpenSSL
extension enabled, you don't have the core OpenSSL library installed
in your environment. A windows installed is available here:

http://gnuwin32.sourceforge.net/packages/openssl.htm

Best,
- Eric Koleda, AdWords API Team
> PGP Key:http://pgp.mit.edu/ID 0x73B13B6A
Reply all
Reply to author
Forward
0 new messages