Install PEAR and PECL on Mac OS X
来源:互联网 发布:mac 版梦幻西游有么 编辑:程序博客网 时间:2024/05/18 02:52
The following instructions install PEAR and PECL on Mac OS X under/usr/local/. PECL is bundled with PEAR. So this is as simple as installing PEAR on Mac OS X.
PEAR is PHP’s Package Repository and makes it easy to download and install PHP tools like PHPUnit and XDebug. I specifically recommend these two for every PHP developer.
Download PEAR
curl -O http://pear.php.net/go-pear.pharsudo php -d detect_unicode=0 go-pear.phar
Configure and Install PEAR
You should now be at a prompt to configure PEAR.
- Type 1 and press return.
Enter:
/usr/local/pear
- Type 4 and press return.
Enter:
/usr/local/bin
- Press return
Verify PEAR
You should be able to type:
pear version
Eventually, if you use any extensions or applications from PEAR, you may need to update PHP’s include path.
参考文章地址:http://jason.pureconcepts.net/2012/10/install-pear-pecl-mac-os-x/
0 0
- Install PEAR and PECL on Mac OS X
- Install and Run Scapy on Mac OS X 10.10 (Yosemite)
- Install and config Redis on Mac OS X via Homebrew
- [Torch] 0. Install and Config on Mac OS X 10.12
- Install and config Redis on Mac OS X via Homebrew
- MAC OS X 安装 pecl
- Maven Install on Mac OS X
- Install Docker on Mac OS X
- Install Cassandra 2.1 on Mac OS X
- How to install subclipse on Mac OS X
- Failed to Install MAC OS X on Lenovo K42
- Install MAC OS X Snow Loepard On Lenovo B460
- HOWTO: Install md5sum & sha1sum on Mac OS X
- How to Install Subversion on Mac OS X
- Install Ruby on Rails · Mac OS X Mavericks
- How To Install MongoDB On Mac OS X
- `gem install therubyracer` fails on Mac OS X Lion
- How to install Maven on Mac OS X Mavericks (10.9)
- 备份方法论--待续
- 装装环境玩玩
- android中常见的内存溢出和解决办法
- Android 支付宝集成及解决支付宝报null指针问题
- 【VBA研究】如何使用VBA项目的数字证书
- Install PEAR and PECL on Mac OS X
- 旋转数组的最小数字
- startActivityForResult出错
- 一波面经。。。
- opencv入门01(visual studio2010)--20151229
- 用Fragment制作的Tab页面产生的UI重叠问题
- 解析 CC2541 的 BLE 数据包为什么是 20 字节
- Objective-C对方法进行注释的方法
- 亮仔移植u-boot系列之-- S3c2440在最新版本U-boot-2015.10移植(支持SPL模式启动) -- 3