
PHP
wangweixaut061
这个作者很懒,什么都没留下…
展开
-
Windows 中编译 PHP5.4 + xdebug
参考 http://www.phpvim.net/web/php/build-php5-4-and-xdebug-on-win32.html1. error C2466: cannot allocate an array of constant size 0用C/C++写PHP的扩展模块,如果VS2005编译,可能会出现下面的错误:\VC\include\sys/stat.inl转载 2011-12-20 14:59:33 · 2174 阅读 · 0 评论 -
PDO 层次逻辑(以 pdo_pgsql 为例)
第一层pdo:static PHP_METHOD(PDO, beginTransaction)第二层pdo:beginTransaction 内部调用各 pdo driver 自定义的函数if (dbh->methods->begin(dbh TSRMLS_CC)) {//使用函数指针,例如pg,此处调用的就是 pgsql_handle_begindbh->in_txn = 1;R原创 2011-12-15 15:54:52 · 1487 阅读 · 0 评论 -
linux下用源代码编译php(转载)
转自 http://hi.baidu.com/travel981cn/blog/item/2514bf34069031b0d0a2d30e.html这篇文章是 linux下用源代码编译apache+mysql+php应用环境 的一部分,文章的其它部分请参考:linux下用源代码编译apache+mysql+php应用环境linux下用源代码编译mysql(基本步骤)转载 2011-12-27 11:13:22 · 3753 阅读 · 0 评论 -
error C2466: cannot allocate an array of constant size 0
用C/C++写PHP的扩展模块,如果VS2005编译,可能会出现下面的错误:Cpp代码 \VC\include\sys/stat.inl(44) : error C2466: 不能分配常量大小为 0 的数组 ,出现这种情况时,只需在 \vc\include\malloc.h 文件中找到:Cpp代码 #def转载 2011-12-20 11:59:12 · 17928 阅读 · 0 评论