Zend服务器的PHP版本问题


PHP version issues with Zend server

我真的是个新程序员。

我的mac os x上有PHP 5.3。

我最近为php 5.4版安装了Zend Server 6.1.0,它存在于/usr/local/Zend/bin 中

当我键入哪个php时,它显示/usr/bin/php-

如何使用/usr/local/zend/bin中的一个?

您可以确保在PATH环境变量中/usr/local/zend/bin先于/usr/bin/出现。

export PATH="/usr/local/zend/bin:$PATH"