Linux下安装php的pear和pecl
2013-06-18 10:16
411 查看
参考链接:
Linux上安装php的pear
首先下载安装脚本, 使用curl下载, wget也可以, 如果没有这两个命令请自行安装:
安装:
如果看到下面的一段话就是安装成功:
写这个的原因是因为想尝试自己编译php手册, 其中有用到pear.
另外建议把php/bin加入到PATH去, centos下:
Linux上安装php的pear
首先下载安装脚本, 使用curl下载, wget也可以, 如果没有这两个命令请自行安装:
cd /usr/local/php/bin/ curl -o go-pear.php http://pear.php.net/go-pear curl -o go-pear.php http://pear.php.net/go-pear.phar # 如果你的php版本低于php5.3, 执行这条
安装:
php go-pear.php # 回车, 会提示选择安装的东西, 直接回车, 安装全部, 若后面有要选择y/n的, 输入y回车
如果看到下面的一段话就是安装成功:
Run it without parameters to see the available actions, try 'pear list' to see what packages are installed, or 'pear help' for help. For more information about PEAR, see: http://pear.php.net/faq.php http://pear.php.net/manual/ Thanks for using go-pear!
写这个的原因是因为想尝试自己编译php手册, 其中有用到pear.
另外建议把php/bin加入到PATH去, centos下:
vi /etc/profile # 在最后加入如下 PATH=.:$PATH:/usr/local/php/etc:/usr/local/php/bin export PATH
相关文章推荐
- php pear pecl的安装
- Linux上安装php的pear
- PECL PEAR php扩展模块的简便安装方式
- Linux下 PHP 安装pecl_http方法
- php -- pecl 安装模块时出现"pear.php.net is using a unsupported protocal - This should never happen. install failed "错误
- Linux下 PHP 安装pecl_http方法
- linux安装pecl、pear
- linux php安装pear
- Linux上安装php的pear
- Linux 与Windows 下安装 PHP 的 PECL HTTP 扩展
- Linux 与Windows 下安装 PHP 的 PECL HTTP 扩展
- php安装pear、pecl
- Linux安装pecl和pear
- Linux上安装php的pear
- linux php安装pear
- Linux安装pecl和pear
- Linux上安装php的pear
- Linux中安装php
- Linux php 安装zip扩展
- Linux安装Rdies和PHP Rdies 扩展02