博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
安装pear
阅读量:4201 次
发布时间:2019-05-26

本文共 5211 字,大约阅读时间需要 17 分钟。

wget http://pear.php.net/go-pear.phar/usr/local/php/bin/php  php go-pear.phar

log

[root@grande tools]# /usr/local/php/bin/php go-pear.phar Failed loading /usr/local/php/lib/php/extensions/no-debug-non-zts-20100525/xdebug.so:  /usr/local/php/lib/php/extensions/no-debug-non-zts-20100525/xdebug.so: undefined symbol: sapi_globalsPHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20100525/redis.so' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20100525/redis.so: undefined symbol: executor_globals in Unknown on line 0PHP Warning:  PHP Startup: pdo_mysql: Unable to initialize moduleModule compiled with build ID=API20100525,NTSPHP    compiled with build ID=API20100525,TSThese options need to match in Unknown on line 0PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20100525/soap.so' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20100525/soap.so: undefined symbol: sapi_globals in Unknown on line 0PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20100525/oauth.so' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20100525/oauth.so: undefined symbol: executor_globals in Unknown on line 0PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20100525/imap.so' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20100525/imap.so: undefined symbol: file_globals in Unknown on line 0PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20100525/mongo.so' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20100525/mongo.so: undefined symbol: executor_globals in Unknown on line 0Below is a suggested file layout for your new PEAR installation.  Tochange individual locations, type the number in front of thedirectory.  Type 'all' to change all of them or simply press Enter toaccept these locations. 1. Installation base ($prefix)                   : /usr/local/php 2. Temporary directory for processing            : /tmp/pear/install 3. Temporary directory for downloads             : /tmp/pear/install 4. Binaries directory                            : /usr/local/php/bin 5. PHP code directory ($php_dir)                 : /usr/local/php/share/pear 6. Documentation directory                       : /usr/local/php/docs 7. Data directory                                : /usr/local/php/data 8. User-modifiable configuration files directory : /usr/local/php/cfg 9. Public Web Files directory                    : /usr/local/php/www10. System manual pages directory                 : /usr/local/php/man11. Tests directory                               : /usr/local/php/tests12. Name of configuration file                    : /usr/local/php/etc/pear.conf1-12, 'all' or Enter to continue: Beginning install...Configuration written to /usr/local/php/etc/pear.conf...Initialized registry...Preparing to install...installing phar:///tools/go-pear.phar/PEAR/go-pear-tarballs/Archive_Tar-1.4.0.tar...installing phar:///tools/go-pear.phar/PEAR/go-pear-tarballs/Console_Getopt-1.4.1.tar...installing phar:///tools/go-pear.phar/PEAR/go-pear-tarballs/PEAR-1.10.1.tar...installing phar:///tools/go-pear.phar/PEAR/go-pear-tarballs/Structures_Graph-1.1.1.tar...installing phar:///tools/go-pear.phar/PEAR/go-pear-tarballs/XML_Util-1.3.0.tar...install ok: channel://pear.php.net/Archive_Tar-1.4.0install ok: channel://pear.php.net/Console_Getopt-1.4.1install ok: channel://pear.php.net/Structures_Graph-1.1.1install ok: channel://pear.php.net/XML_Util-1.3.0install ok: channel://pear.php.net/PEAR-1.10.1PEAR: Optional feature webinstaller available (PEAR's web-based installer)PEAR: Optional feature gtkinstaller available (PEAR's PHP-GTK-based installer)PEAR: Optional feature gtk2installer available (PEAR's PHP-GTK2-based installer)PEAR: To install optional features use "pear install pear/PEAR#featurename"******************************************************************************WARNING!  The include_path defined in the currently used php.ini does notcontain the PEAR PHP directory you just specified:If the specified directory is also not in the include_path used byyour scripts, you will have problems getting any PEAR packages working.Would you like to alter php.ini ? [Y/n] : Yphp.ini  include_path updated.Current include path           : .:Configured directory           : /usr/local/php/share/pearCurrently used php.ini (guess) : /etc/php.iniPress Enter to continue: ** WARNING! Old version found at /usr/local/php/bin, please remove it or be sure to use the new /usr/local/php/bin/pear commandThe 'pear' command is now at your service at /usr/local/php/bin/pear** The 'pear' command is not currently in your PATH, so you need to** use '/usr/local/php/bin/pear' until you have added** '/usr/local/php/bin' to your PATH environment variable.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!

转载地址:http://xtdli.baihongyu.com/

你可能感兴趣的文章
yii2 php namespace 引入第三方非namespace库文件时候,报错:Class not found 的解决
查看>>
softlayer 端口开放
查看>>
操作1:mongodb安装
查看>>
操作2:mongodb使用语法
查看>>
如何给分类增加一个属性(后台)
查看>>
linux设置环境变量 临时设置 和 永久设置
查看>>
检查网站在世界各地的打开速度
查看>>
jquery 向上(顶部),向下(底部)滑动
查看>>
seo
查看>>
10个出色的NoSQL数据库
查看>>
MySQL: InnoDB 还是 MyISAM?
查看>>
MySQL性能优化的最佳20+条经验
查看>>
SQL语言的组成部分 ddl dcl dml
查看>>
mysql数据库从库同步延迟的问题
查看>>
1.mysql数据库主从复制部署笔记
查看>>
mysql数据库主从同步的问题解决方法
查看>>
mysql 配置 - on xFanxcy.com
查看>>
MySQL数据库高并发优化配置
查看>>
mysql一: 索引优化
查看>>
测试人员,今天再不懂BDD就晚了!
查看>>