开发者

PHP CLI version issue

开发者 https://www.devze.com 2022-12-29 02:17 出处:网络
I am trying to use Zend Tool on my media temple Grid Server a开发者_开发技巧ccount. The problem is that the installed CLI version of PHP is 4.4.8 and Zend Framework needs PHP5. On an account basis its

I am trying to use Zend Tool on my media temple Grid Server a开发者_开发技巧ccount. The problem is that the installed CLI version of PHP is 4.4.8 and Zend Framework needs PHP5. On an account basis its possible to choose PHP 4 or 5 but not so for CLI. Its possible to globally select to use PHP5 by using the extension .php5 but in the case of Zend Tool which is called by a shell script zf.sh i'm not sure what options i have. PHP5 is on the server at /usr/bin/php5 and someone at MT has suggested creating an alias so php=/usr/bin/php5 but i'm not sure that will work. Any ideas?


In zf.sh update the PHP_BIN line to:

PHP_BIN=/usr/bin/php5
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号