Search code examples
phpzend-server

PHP version issues with Zend server


I am really really new programmer.

I have PHP 5.3 on my mac os x.

I recently installed Zend Server 6.1.0 for php version 5.4 and it exists in /usr/local/zend/bin

when i type which php it says /usr/bin/php

how do i get to use to one in /usr/local/zend/bin ?


Solution

  • you can make sure /usr/local/zend/bin is presented prior to /usr/bin/ in your PATH environment variable.

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