...候, 运行util/Indexer.php --source=csv --clean demo 提示 /usr/bin/env: php: 没有那个文件或目录 我做了一个ln ln -s /home/test/php/lib/php /usr/bin 提示错误为 /usr/bin/env: php: 权限不够 我已经将/home/test/php改为 777 了 如何解决!...
... php 是指可执行的 php 解释器,你把一个目录ln -s 这去当然没用
...如果你编译的结果是给另一个版本的php用,则应当用/usr/bin/php-config 及 phpize 确认一下扩展编译步骤(在 scws-1.1.5/phpext/ 目录下运行以下): /usr/local/php/bin/phpize --clean /usr/local/php/bin/phpize ./configure --with-php-config=/usr/local/bin/php-config...
# /usr/local/xunsearch/bin/xs-searchd -l /usr/local/xunsearch/tmp/searchd.log -b 192.168.5.180:8384 -k start WARNING: server[xs-searchd] is running (BIND:192.168.5.180:8384, PID:3938) # /usr/local/xunsearch/bin/xs-searchd -l /usr/local/xunsearch/tmp/searchd.log -b 192.168.5.180:8384 -k stop INFO: st...
...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 然后重启PHP的进程(FASTCGI?)
checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking how to create a ustar tar archive... gnutar checking ...
[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...
...8 li414-60 abrt[15087]: saved core dump of pid 15073 (/usr/local/xunsearch/bin/xs-searchd) to /var/spool/abrt/ccpp-2013-05-22-07:24:58-15073.new/coredump (111652864 bytes) May 21 23:24:58 li414-60 abrtd: Directory 'ccpp-2013-05-22-07:24:58-15073' creation detected May 21 23:24:59 li414-60 abrtd: Exe...
...8 li414-60 abrt[15087]: saved core dump of pid 15073 (/usr/local/xunsearch/bin/xs-searchd) to /var/spool/abrt/ccpp-2013-05-22-07:24:58-15073.new/coredump (111652864 bytes) May 21 23:24:58 li414-60 abrtd: Directory 'ccpp-2013-05-22-07:24:58-15073' creation detected May 21 23:24:59 li414-60 abrtd: E...
...。 只要重新编译一下php,用 --with-apxs2=/usr/local/apache2/bin/apxs 指定一下apache,就可以加载手动安装的这个php了,这样就可以正常加载scws了。 如果遇到跟我一样的问题:Unable to load dynamic library,最好用安装的php下的/bin/php 来检...