<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>潘锦的空间 &#187; openssl</title>
	<atom:link href="https://www.phppan.com/tag/openssl/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.phppan.com</link>
	<description>SaaS SaaS架构 团队管理 技术管理 技术架构 PHP 内核 扩展 项目管理</description>
	<lastBuildDate>Sun, 10 May 2026 02:26:45 +0000</lastBuildDate>
	<language>zh-CN</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=3.9.40</generator>
	<item>
		<title>Google Adwords API开发环境问题</title>
		<link>https://www.phppan.com/2010/07/google-adwords-api/</link>
		<comments>https://www.phppan.com/2010/07/google-adwords-api/#comments</comments>
		<pubDate>Thu, 08 Jul 2010 01:16:58 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[程序相关]]></category>
		<category><![CDATA[Google Adwords API]]></category>
		<category><![CDATA[openssl]]></category>
		<category><![CDATA[SOAP]]></category>

		<guid isPermaLink="false">http://www.phppan.com/?p=812</guid>
		<description><![CDATA[Google Adwords API开发环境问题 最近接手系统中Google Adwords API的开发，然 [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Google Adwords API开发环境问题</p>
<p>最近接手系统中Google Adwords API的开发，然后需要取广告系统的数据，当一切准备就绪后，自己写了代码，发现根本没有取到数据，到最后是有一些必要的扩展没有打开。<br />
需要扩展列表如下：<br />
【soap扩展】<br />
如果soap扩展没有打开，则会报错如下：<br />
Fatal error: This client library requires the SOAP extension to be activated. See http://php.net/manual/en/soap.installation.php for details. in aw_api\src\Google\Api\Ads\Common\Lib\SoapClientFactory.php on line 93<br />
打开方式：在php.ini中将 extension=php_soap.dll前面的分号去掉</p>
<p>【openssl扩展】<br />
如果opensslpss扩展没有找开，则会报错如下：<br />
Warning: SoapClient::SoapClient() [soapclient.soapclient]: Unable to find the wrapper &#8220;https&#8221; &#8211; did you forget to enable it when you configured PHP? in aw_api\src\Google\Api\Ads\Common\Lib\AdsSoapClient.php on line 142<br />
Warning: SoapClient::SoapClient() [soapclient.soapclient]: I/O warning : failed to load external entity &#8220;https://adwords.google.com/api/adwords/cm/v200909/CampaignService?wsdl&#8221; in aw_api\src\Google\Api\Ads\Common\Lib\AdsSoapClient.php on line 142</p>
<p style="padding-left: 30px;">打开方式：在php.ini中将 extension=php_openssl.dll前面的分号去掉</p>
<p>【curl扩展】<br />
如果curl扩展没有找开，则会报错如下：<br />
Fatal error: Call to undefined function curl_init() in aw_api\src\Google\Api\Ads\Common\Util\AuthToken.php on line 103<br />
打开方式：在php.ini中将 extension=php_curl.dll前面的分号去掉</p>
<p>其实到最后，发现这些本来就是应该打开的扩展，google使用https，这就必须要开启 openssl，我们使用wsdl，就必须要开启soap</p>
<p>是受http://blog.csdn.net/cooledit2730/archive /2010/05/22/5616134.aspx的启发，才发现有扩展没有打开的。一直以为是自己的代码问题。感谢</p>
]]></content:encoded>
			<wfw:commentRss>https://www.phppan.com/2010/07/google-adwords-api/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
