码迷,mamicode.com
首页 > 其他好文 > 详细

zend server mac 下配置

时间:2014-08-07 00:24:57      阅读:279      评论:0      收藏:0      [点我收藏+]

标签:style   http   os   io   for   ar   cti   line   

Post Installation on Mac OS X

If you intend to use PHP and other tools provided by Zend Server (pear and pecl) from the command line (PHP CLI), it is recommended that you add the <install_path>/bin directory to your $PATH environment variable.

This can be done in two ways:

  • Per user profile
  • For all users

The following procedure is intended for use with bash. If you are using a different shell, adjust the procedure accordingly.

 

 

bubuko.com,布布扣

To add the <install_path>/bin directory to your $PATH environment variable per user profile, issue the following command:

echo ‘export PATH=$PATH:/usr/local/zend/bin‘ >> $HOME/.bashrc

To add the Zend Server library path, issue the following command:

echo ‘export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/zend/lib‘ >> $HOME/.bashrc

You can now run the PHP binary provided by Zend Server without typing its full path.

 

 

bubuko.com,布布扣

To add the <install_path>/bin directory to your $PATH environment variable for all users, issue the following command:

echo ‘export PATH=$PATH:/usr/local/zend/bin‘ >> /etc/profile.d/zend-server.sh

To add the Zend Server library path, issue the following command:

echo ‘export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/zend/lib‘ >> /etc/profile.d/zend-server.sh

You can now run the PHP binary provided by Zend Server without typing its full path.

zend server mac 下配置,布布扣,bubuko.com

zend server mac 下配置

标签:style   http   os   io   for   ar   cti   line   

原文地址:http://www.cnblogs.com/zhepama/p/3895877.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!