...你发的URL PHP应该是被安装在 /usr/local/php 下,那么你编译 scws 应该按以下步骤: 1. /usr/local/php/bin/phpize --clean 2. /usr/local/bin/bin/phpize 3 ./configure --with-scws=/usr/local/scws --with-php-config=/usr/local/php/bin/php-config 4. make && make install 然后重启P...
没有 #define ZTS 1 我加上 试试
是1.5你手动改一下吧 或者 patch -p0 libscws/scws.c < scws.patch 你的命令行我没用过不知对不,用上面这句应该肯定可以
Warning: PHP Startup: Unable to load dynamic library 'd:/wamp/bin/php/php5.3.13/ext/php_scws.dll' - %1 不是有效的 Win32 应用程序。 apache的错误日志中这么报错!哪里有64位的扩展库下载?
试试在 phpext 目录的 configure 运行前 export CFLAGS="-O2 -DZTS=1"
... timeout (TIMEOUT:5) 2012-05-23 09:57:04 worker3[21903] [sock:130] end the scws (RC:131, CONN:0xad577d0) 2012-05-23 09:57:09 worker1[20683] caught SIGINT, shutdown gracefully 2012-05-23 09:57:09 worker1[20683] get NULL pointer from pipe, shutdown gracefully 2012-05-23 09:57:09 worker1[20683] event s...
...s2) _stricmp(s1, s2) 为 #define strcasecmp(s1, s2) stricmp(s1, s2) 4、scws.h中,加入导出修饰符 /* api: init the scws handler */ scws_t __declspec(dllexport) scws_new(); void __declspec(dllexport) scws_free(scws_t s); /* fork instance for multi-threaded usage, but they shared the di...
[quote='hightman' pid='562' dateline='1330199583'] 不会的啊,默认就是-M3呀 [/quote] 如何设置成其他的值呀 最近的一个项目需要全部的单字 在项目的ini里,tokenizer = default 如果是3的话 不知到如何改成11 是否是使用xlen(1) 来设置?这个xl...
...安装不了扩展,原php环境运行正常 操作步骤: 1 将php_scws.dll copy至php5扩展目录ext下 2 在php.ini中增加 extension=php_scws.dll scws.default.charset = gbk 3 在命令行运行[b]php -m[/b]检测模块是否加载,报错:缺少php4ts.dll文件 4 下载php4.4....
..., it can be run on 32bit xp, but when used it on 64bit it still alert: php_scws.dll %1 is not a valid Win32 application.~~~ hightman, i want to compile the lib with 64bit, does it run?[hr] by the way, the code is ansi based standard, and when i compile it on OSI standard with vs9, it's appear man...