LAMP 安装时php出现棘手问题!求高手帮忙~
本帖最后由 0216t 于 2011-03-29 02:49 编辑
我在安装php时,执行make 命令显示的信息 提示错误应该是
Wrote PEAR system config file at: /usr/local/php//etc/pear.conf
You may want to add: /usr/local/php//lib/php to your php.ini include_path
/usr/local/src/php-5.3.6/build/shtool install -c ext/phar/phar.phar /usr/local/php//bin
ln -s -f /usr/local/php//bin/phar.phar /usr/local/php//bin/phar
Installing PDO headers: /usr/local/php//include/php/ext/pdo/
解决办法:
1.rm -rf /usr/local/php/lib/php/.channels
2./usr/local/php/bin/pecl update-channels
我也这样去做了,可是又反给我一个新的错误提示:
[root@test php]# bin/pecl update-channels
Updating channel "doc.php.net"
Channel "doc.php.net" is not responding over http://, failed with message: Connection to `doc.php.net:443' failed: Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?
Trying channel "doc.php.net" over https:// instead
Cannot retrieve channel.xml for channel "doc.php.net" (Connection to `doc.php.net:443' failed: Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?)
Updating channel "pear.php.net"
Channel "pear.php.net" is up to date
Updating channel "pecl.php.net"
Channel "pecl.php.net" is up to date
本人比较菜,希望得到高手帮助!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论