127报错解决方法
2016-03-31 16:24
465 查看
编译安装php 的时候, 执行make报错误
make: *** [ext/phar/phar.php] Error 127
解决的方法如下:
#vi /etc/ld.so.conf
在里面加上一行
/usr/local/lib
2.然后运行/sbin/ldconfig
#/sbin/ldconfig
编译make
#make ZEND_EXTRA_LIBS='-liconv'
抛错:
Generating phar.phar
chmod: cannot access `ext/phar/phar.phar': No such file or directory
make: [ext/phar/phar.phar] Error 1 (ignored)
Build complete.
Don't forget to run 'make test'.
此处可以忽略 不过解决办法如下
#cd ext/phar/
#cp ./phar.php ./phar.phar
然后到php5.4文件夹
#make ZEND_EXTRA_LIBS='-liconv'
#make test
#make install
make: *** [ext/phar/phar.php] Error 127
解决的方法如下:
#vi /etc/ld.so.conf
在里面加上一行
/usr/local/lib
2.然后运行/sbin/ldconfig
#/sbin/ldconfig
编译make
#make ZEND_EXTRA_LIBS='-liconv'
抛错:
Generating phar.phar
chmod: cannot access `ext/phar/phar.phar': No such file or directory
make: [ext/phar/phar.phar] Error 1 (ignored)
Build complete.
Don't forget to run 'make test'.
此处可以忽略 不过解决办法如下
#cd ext/phar/
#cp ./phar.php ./phar.phar
然后到php5.4文件夹
#make ZEND_EXTRA_LIBS='-liconv'
#make test
#make install
相关文章推荐
- 一个关于if else容易迷惑的问题
- PHP5.2.*防止Hash冲突拒绝服务攻击的Patch
- 深入理解PHP之匿名函数
- JSP/PHP基于Ajax的分页功能实现
- 关于PHP通过PDO用中文条件查询MySQL的问题。
- 什么是设计模式
- PHP数据库长连接mysql_pconnect的细节
- Php Installing An Expansion
- php7 读取php.ini[4]
- PHP+Apache在Windows 9x下的安装和配置
- IIS 6 的 PHP 最佳配置方法
- 安装Apache和PHP的一些补充
- Linux Apache+MySQL+PHP
- 建立Apache+PHP+MySQL数据库驱动的动态网站
- PHP 5.3.0 安装分析心得
- apache 环境下 php 的配置注意事项
- ASP.NET、ASP、PHP、JSP之间有什么区别?
- PHP VBS JS 函数 对照表
- C语言实现的统计php代码行数功能源码(支持文件夹、多目录)