WDlinux官方论坛's Archiver

handuck 发表于 2012-1-9 01:15

PHP CLI不支持

PHP CLI不支持,请管理指导解决问题![code]PHP command line interface
PHP CLIThe command line version of PHP could not be found. Please make sure that the cli version is installed, and that mysql.so is also activated for the cli.
[/code][attach]181[/attach]

admin 发表于 2012-1-9 10:01

可以的,你看下网上上检测到的完整php路径是多少

handuck 发表于 2012-1-9 10:06

[i=s] 本帖最后由 handuck 于 2012-1-9 10:48 编辑 [/i]

php路径是/usr/bin/php   显示不支持
后来自定义成/www/wdlinux/php-5.2.17/bin/php 也是显示不支持
这几个地址都没有相应的 php-cli文件
                 "/bin/php-cli",
                 "/usr/bin/php-cli",
                 "/usr/local/bin/php-cli",

admin 发表于 2012-1-9 14:49

ln -s /www/wdlinux/php-5.2.17/bin/php /bin/php-cli

handuck 发表于 2012-1-9 15:48

执行上诉命令后还是无果额!

页: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.