既然这样你编译的scws应当是要给自己安装的 /usr/local/php 使用的对吧?如果你编译的结果是给另一个版本的php用,则应当用/usr/bin/php-config 及 phpize 确认一下扩展编译步骤(在 scws-1.1.5/phpext/ 目录下运行以下): /usr/local/php/bin/phpi...
...php-config路径去安装. 看你发的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. mak...
...版本的安装步骤,却发现出错了: 看代码: [code] [root@localhost phpext]# ./configure --with-scws=/usr/local/scws/ --with-php-config=/usr/local/php5/bin/php-config checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a s...
...也不能判断系统中是否装有两个php。我手动把php装在 /usr/local/php 中,是编译安装的,我用 find 令命搜索的结果是: find / -name php -print /home/www/yj/fckeditor/editor/filemanager/connectors/php #这个是网页文件 /home/soft/php-5.3.4/sapi/cli/php #这...
...able-maintainer-zts 参数也不行 php 5.2.13 [root@zjx phpext]# /usr/local/php/bin/phpize Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20060613 Zend Extension Api No: 220060519 [root@zjx phpext]# ./configure --with-scws=/usr/local/scws/ --with-php-config=/usr/...
...哥指点 我的php编译大致是这样的 ./configure --prefix=/usr/local/php51 --with-config-file-path=/usr/local/php51/etc --with-mysql=/usr/local/mysql51 --with-mysqli=/usr/local/mysql51/bin/mysql_config --with-iconv-dir=/usr/local --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zl...
这样设置后 ./configure --with-scws=/usr/local/scws --with-php-config=/usr/local/php/bin/php-config 然后还是出错 不加--with-php-config=/usr/local/php/bin/php-config不会出错,但是PHP无法加载 # make /bin/sh /niran/fenci/scws-1.1.2/phpext/libtool --mode=compile gcc -I...
... tar jxvf scws-1.1.7.tar.bz2 cd scws-1.1.7 ./configure --prefix=/usr/local/scws-1.1.7 make make install ls -al /usr/local/scws-1.1.7/lib/libscws.la /usr/local/scws-1.1.7/bin/scws -h #两外我将字典文件放入了 /usr/local/scws-1.1.7/etc 下面 /opt/php-5.2.17/bin/phpize #说...
[php] [root@localhost bin]# ./php /usr/local/lamp/xunsearch/sdk/php/util/Quest.php demo 很有 在 3 条数据中,大约有 0 条包含 很有 ,第 0-0 条,用时:0.0022 秒。 [root@localhost bin]# 有意思 -bash: 有意思: command not found [root@localhost bin]# ./php /usr/local/l...
.../include -I/niran/fenci/scws/phpext/main -I/niran/fenci/scws/phpext -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -I/usr/local/scws/include ...