<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" 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/" > <channel><title>Comments on: 扩展 PHP</title> <atom:link href="http://yanbin.org/archive/extending-php-part-one.html/feed" rel="self" type="application/rss+xml" /><link>http://yanbin.org/archive/extending-php-part-one.html</link> <description>人虽不能要他想要的，但能做他想做的</description> <lastBuildDate>Sun, 29 Jan 2012 09:08:17 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: wang</title><link>http://yanbin.org/archive/extending-php-part-one.html/comment-page-1#comment-5753</link> <dc:creator>wang</dc:creator> <pubDate>Sat, 27 Mar 2010 18:39:57 +0000</pubDate> <guid isPermaLink="false">http://www.yAnbiN.org/2006/12/07/extending_php_part_one/#comment-5753</guid> <description>在这里可以得到VC6的dll文件，希望可以帮到大家。 http://www.sk89q.com/2010/03/vc6-windows-binaries-for-imagick-2-3-0/</description> <content:encoded><![CDATA[<p>在这里可以得到VC6的dll文件，希望可以帮到大家。<br /> <a href="http://www.sk89q.com/2010/03/vc6-windows-binaries-for-imagick-2-3-0/" rel="nofollow">http://www.sk89q.com/2010/03/vc6-windows-binaries-for-imagick-2-3-0/</a></p> ]]></content:encoded> </item> <item><title>By: yAnbiN</title><link>http://yanbin.org/archive/extending-php-part-one.html/comment-page-1#comment-4238</link> <dc:creator>yAnbiN</dc:creator> <pubDate>Fri, 06 Nov 2009 12:56:26 +0000</pubDate> <guid isPermaLink="false">http://www.yAnbiN.org/2006/12/07/extending_php_part_one/#comment-4238</guid> <description>可以到 PHP 的 wiki 查看建立 PHP 5.3 的 windows 编译环境的详细步骤：http://wiki.php.net/internals/windows/stepbystepbuild</description> <content:encoded><![CDATA[<p>可以到 PHP 的 wiki 查看建立 PHP 5.3 的 windows 编译环境的详细步骤：http://wiki.php.net/internals/windows/stepbystepbuild</p> ]]></content:encoded> </item> <item><title>By: Reader</title><link>http://yanbin.org/archive/extending-php-part-one.html/comment-page-1#comment-4226</link> <dc:creator>Reader</dc:creator> <pubDate>Mon, 02 Nov 2009 11:01:35 +0000</pubDate> <guid isPermaLink="false">http://www.yAnbiN.org/2006/12/07/extending_php_part_one/#comment-4226</guid> <description>我在为PHP 5.3.0配置ImageMagick时遇到这样的错误：PHP Startup: imagick: Unable to initialize module Module compiled with buildID=API20090626,TS,VC9 PHP compiled with buildID=API20090626,TS,VC6 There options need to match我用的php_imagick.dll是从这里下载的,http://valokuva.org/magick/, 可都是在VC9环境下编译的,我希望有一个用VC6编译的php_imagick.dll,抚琴,能帮我编译一个吗?我已经折腾了两天了,才找到这里.</description> <content:encoded><![CDATA[<p>我在为PHP 5.3.0配置ImageMagick时遇到这样的错误：</p><p>PHP Startup: imagick: Unable to initialize module<br /> Module compiled with buildID=API20090626,TS,VC9<br /> PHP compiled with buildID=API20090626,TS,VC6<br /> There options need to match</p><p>我用的php_imagick.dll是从这里下载的,<a href="http://valokuva.org/magick/" rel="nofollow">http://valokuva.org/magick/</a>, 可都是在VC9环境下编译的,我希望有一个用VC6编译的php_imagick.dll,抚琴,能帮我编译一个吗?我已经折腾了两天了,才找到这里.</p> ]]></content:encoded> </item> <item><title>By: gzg</title><link>http://yanbin.org/archive/extending-php-part-one.html/comment-page-1#comment-4173</link> <dc:creator>gzg</dc:creator> <pubDate>Tue, 13 Oct 2009 03:25:32 +0000</pubDate> <guid isPermaLink="false">http://www.yAnbiN.org/2006/12/07/extending_php_part_one/#comment-4173</guid> <description>上面问题已经解决：在zend 论坛找到的 http://forums.zend.com/viewtopic.php?f=55&amp;t=2045You just have to define a new preprocessor constant:Code: Select all #define PHP_COMPILER_ID &quot;VC9&quot;And put it in the upper part of PHP_Source/Zend/zend_build.h, now you just need to recompile and you get a compatible DLL-Extension.</description> <content:encoded><![CDATA[<p>上面问题已经解决：</p><p>在zend 论坛找到的<br /> <a href="http://forums.zend.com/viewtopic.php?f=55&#038;t=2045" rel="nofollow">http://forums.zend.com/viewtopic.php?f=55&#038;t=2045</a></p><p>You just have to define a new preprocessor constant:</p><p>Code: Select all<br /> #define PHP_COMPILER_ID &#8220;VC9&#8243;</p><p>And put it in the upper part of PHP_Source/Zend/zend_build.h, now you just need to recompile and you get a compatible DLL-Extension.</p> ]]></content:encoded> </item> <item><title>By: gzg</title><link>http://yanbin.org/archive/extending-php-part-one.html/comment-page-1#comment-4172</link> <dc:creator>gzg</dc:creator> <pubDate>Tue, 13 Oct 2009 02:38:06 +0000</pubDate> <guid isPermaLink="false">http://www.yAnbiN.org/2006/12/07/extending_php_part_one/#comment-4172</guid> <description>我碰到和16楼一样的问题：我的错误提示： PHP Startup: wangxing: Unable to initialize module Module compiled with build ID=API20090626,TS PHP compiled with build ID=API20090626,TS,VC6 These options need to match但我是在VC6（sp6）下编译的啊，还是加载不上，难道因为我的VC6和php安装版的VC6版本不一样导致的？</description> <content:encoded><![CDATA[<p>我碰到和16楼一样的问题：</p><p>我的错误提示：<br /> PHP Startup: wangxing: Unable to initialize module<br /> Module compiled with build ID=API20090626,TS<br /> PHP compiled with build ID=API20090626,TS,VC6<br /> These options need to match</p><p>但我是在VC6（sp6）下编译的啊，还是加载不上，难道因为我的VC6和php安装版的VC6版本不一样导致的？</p> ]]></content:encoded> </item> <item><title>By: yAnbiN</title><link>http://yanbin.org/archive/extending-php-part-one.html/comment-page-1#comment-4097</link> <dc:creator>yAnbiN</dc:creator> <pubDate>Fri, 04 Sep 2009 03:46:25 +0000</pubDate> <guid isPermaLink="false">http://www.yAnbiN.org/2006/12/07/extending_php_part_one/#comment-4097</guid> <description>是的。加载的 php 扩展所用的编译器必须和编译 zend 内核的编译器保持一致。</description> <content:encoded><![CDATA[<p>是的。加载的 php 扩展所用的编译器必须和编译 zend 内核的编译器保持一致。</p> ]]></content:encoded> </item> <item><title>By: wangixng</title><link>http://yanbin.org/archive/extending-php-part-one.html/comment-page-1#comment-4096</link> <dc:creator>wangixng</dc:creator> <pubDate>Thu, 03 Sep 2009 10:49:26 +0000</pubDate> <guid isPermaLink="false">http://www.yAnbiN.org/2006/12/07/extending_php_part_one/#comment-4096</guid> <description>这是我的错误提示： PHP Startup: wangxing: Unable to initialize module Module compiled with build ID=API20090626,TS PHP    compiled with build ID=API20090626,TS,VC6 These options need to match 我是用vs2005来编译的，请问是否需要用vc6来进行编译</description> <content:encoded><![CDATA[<p>这是我的错误提示：<br /> PHP Startup: wangxing: Unable to initialize module<br /> Module compiled with build ID=API20090626,TS<br /> PHP    compiled with build ID=API20090626,TS,VC6<br /> These options need to match<br /> 我是用vs2005来编译的，请问是否需要用vc6来进行编译</p> ]]></content:encoded> </item> <item><title>By: cc</title><link>http://yanbin.org/archive/extending-php-part-one.html/comment-page-1#comment-3729</link> <dc:creator>cc</dc:creator> <pubDate>Mon, 05 Jan 2009 16:11:40 +0000</pubDate> <guid isPermaLink="false">http://www.yAnbiN.org/2006/12/07/extending_php_part_one/#comment-3729</guid> <description>d:\xiaojs document\phpmore\phpmore.c(2) : fatal error C1083: Cannot open include file: &#039;php.h&#039;: No such file or directory 执行 cl.exe 时出错.还有)【Advanced】页的“编译方式（Compile As）”请设置为“Compile as C Code (/TC)”,,这一项没有找到~~</description> <content:encoded><![CDATA[<p>d:\xiaojs document\phpmore\phpmore.c(2) : fatal error C1083: Cannot open include file: &#8216;php.h&#8217;: No such file or directory<br /> 执行 cl.exe 时出错.</p><p>还有)【Advanced】页的“编译方式（Compile As）”请设置为“Compile as C Code (/TC)”,,这一项没有找到~~</p> ]]></content:encoded> </item> <item><title>By: wiwiboy</title><link>http://yanbin.org/archive/extending-php-part-one.html/comment-page-1#comment-1404</link> <dc:creator>wiwiboy</dc:creator> <pubDate>Thu, 13 Mar 2008 05:38:31 +0000</pubDate> <guid isPermaLink="false">http://www.yAnbiN.org/2006/12/07/extending_php_part_one/#comment-1404</guid> <description>yAnbiN您好，我按照您的教程进行测试，出现错误，请帮忙看一下是什么原因。代码编译没有错误，在组建dll的时候出现下面的信息。 Creating library Debug/phpmore.lib and object Debug/phpmore.exp phpmore.obj : error LNK2001: unresolved external symbol __imp__php_info_print_table_end phpmore.obj : error LNK2001: unresolved external symbol __imp__php_info_print_table_row phpmore.obj : error LNK2001: unresolved external symbol __imp__php_info_print_table_header phpmore.obj : error LNK2001: unresolved external symbol __imp__php_info_print_table_start phpmore.obj : error LNK2001: unresolved external symbol __imp__zend_printf Debug/phpmore.dll : fatal error LNK1120: 5 unresolved externals</description> <content:encoded><![CDATA[<p>yAnbiN您好，我按照您的教程进行测试，出现错误，请帮忙看一下是什么原因。代码编译没有错误，在组建dll的时候出现下面的信息。<br /> Creating library Debug/phpmore.lib and object Debug/phpmore.exp<br /> phpmore.obj : error LNK2001: unresolved external symbol __imp__php_info_print_table_end<br /> phpmore.obj : error LNK2001: unresolved external symbol __imp__php_info_print_table_row<br /> phpmore.obj : error LNK2001: unresolved external symbol __imp__php_info_print_table_header<br /> phpmore.obj : error LNK2001: unresolved external symbol __imp__php_info_print_table_start<br /> phpmore.obj : error LNK2001: unresolved external symbol __imp__zend_printf<br /> Debug/phpmore.dll : fatal error LNK1120: 5 unresolved externals</p> ]]></content:encoded> </item> <item><title>By: yAnbiN</title><link>http://yanbin.org/archive/extending-php-part-one.html/comment-page-1#comment-779</link> <dc:creator>yAnbiN</dc:creator> <pubDate>Fri, 07 Sep 2007 14:38:16 +0000</pubDate> <guid isPermaLink="false">http://www.yAnbiN.org/2006/12/07/extending_php_part_one/#comment-779</guid> <description>你的 PHP 版本号不对。你编译 phpmore.dll 所用的 PHP 源码是 PHP 5.2.x，但是你取把它运行在了 PHP 5.1.x 环境下，导致了不能加载。建议你更换其中一个环境～</description> <content:encoded><![CDATA[<p>你的 PHP 版本号不对。你编译 phpmore.dll 所用的 PHP 源码是 PHP 5.2.x，但是你取把它运行在了 PHP 5.1.x 环境下，导致了不能加载。建议你更换其中一个环境～</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using apc
Page Caching using apc
Database Caching 1/15 queries in 0.028 seconds using apc
Object Caching 355/356 objects using apc
Content Delivery Network via N/A

Served from: yanbin.org @ 2012-02-05 09:58:24 -->
