分享web开发知识

注册/登录|最近发布|今日推荐

主页 IT知识网页技术软件开发前端开发代码编程运营维护技术分享教程案例
当前位置:首页 > 前端开发

解决Cannot find config.m4 Make sure that you run '/home/php/bin/phpize' in the top level source directory of the module

发布时间:2023-09-06 01:50责任编辑:傅花花关键词:暂无标签

oot@DK:/home/daokr/downfile/php-7.0.0/ext/mysqlnd# /home/php/bin/phpize
Cannot find config.m4.
Make sure that you run ‘/home/php/bin/phpize‘ in the top level source directory of the module

这个错误出现说明找不到 config.m4

ls 查询下当前目录是是否有个 

config9.m4 这个;把他修改成config.m4
cp config9.m4 config.m4

然后编译安装扩展:

root@DK:/home/daokr/downfile/php-7.0.0/ext/mysqlnd# /home/php/bin/phpizeConfiguring for:PHP Api Version: ????????20151012Zend Module Api No: ?????20151012Zend Extension Api No: ??320151012
root@DK:/home/daokr/downfile/php-7.0.0/ext/mysqlnd# ls configure-rwxr-xr-x 1 root root 458087 4月 ?21 12:55 configure
./configure --with-php-config=/home/php/bin/php-config

报错:

configure: error: Cannot find OpenSSL‘s <evp.h>

解决:

下载apt-get -y install libcurl3-openssl-dev

解决Cannot find config.m4 Make sure that you run '/home/php/bin/phpize' in the top level source directory of the module

原文地址:https://www.cnblogs.com/wanglijun/p/8900694.html

知识推荐

我的编程学习网——分享web前端后端开发技术知识。 垃圾信息处理邮箱 tousu563@163.com 网站地图
icp备案号 闽ICP备2023006418号-8 不良信息举报平台 互联网安全管理备案 Copyright 2023 www.wodecom.cn All Rights Reserved