php源码安装执行configure报错error: off_t undefined; check your library configuration

php安装执行configure报错error: off_t undefined; check your library configuration

vim /etc/ld.so.conf

添加如下几行

/usr/local/lib64
/usr/local/lib
/usr/lib
/usr/lib64 
#保存退出
:wq
ldconfig -v # 使之生效
posted @ 2019-09-06 09:55  柠檬v不萌  阅读(1843)  评论(0编辑  收藏  举报