少个
#if COMPILE_DL_YOUREXT
ZEND_GET_MODULE(yourext)
#endif
#if COMPILE_DL_YOUREXT
ZEND_GET_MODULE(yourext)
#endif
解决方案 »
- 创建类的方法来连接数据库,大家来看看。
- Warning: set_time_limit() has been disabled for security reasons in /home/www/we
- 如何在php中执行多条sql语句
- include(_once)与require(_once)的原理,哪个比较快?
- preg_replace( "#(?=((<(table)[^>]*>)((?:(?:[^<]|<(?!table))*?|(?1))*)(</table>)))#ise", '' $str ); 替换没变化,该语法不适用于替
- 求一个SQL语句
- 请教一个小问题
- 请教xuzuning(唠叨),中值排序法组织数据是什么意思?
- 有关php的下载的问题
- 设计数据库设计方面的问题
- mysql_connect怎么回出现错误???
- PHP 4.3.10 & 5.0.3 released!
#include "php.h"/* declaration of functions to be exported */
ZEND_FUNCTION(first_module);/* compiled function list so Zend knows what's in this module */
zend_function_entry firstmod_functions[] =
{
ZEND_FE(first_module, NULL)
{NULL, NULL, NULL}
};/* compiled module information */
zend_module_entry firstmod_module_entry =
{
STANDARD_MODULE_HEADER,
"First Module",
firstmod_functions,
NULL,
NULL,
NULL,
NULL,
NULL,
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};/* implement standard "stub" routine to introduce ourselves to Zend */
#if COMPILE_DL_FIRST_MODULE
ZEND_GET_MODULE(firstmod)
#endif/* implement function that is meant to be made available to PHP */
ZEND_FUNCTION(first_module)
{
long parameter; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", ¶meter) == FAILURE) {
return;
} RETURN_LONG(parameter);
}
上边的代码我试过了,php.net 给的编译方法根本不能通过,路经都不相符,还会报少头文件alloca.h 等等.