zoukankan      html  css  js  c++  java
  • 解决Cannot find config.m4 Make sure that you run '/home/php/bin/phpize' in the top level source directory of the module

    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/phpize
    Configuring for:
    PHP Api Version:         20151012
    Zend Module Api No:      20151012
    Zend 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
  • 相关阅读:
    Gym
    Gym
    Gym
    LA 3713 宇航员分组
    LA 3211 飞机调度(2—SAT)
    POJ 1050 To The Max
    51nod 1050 循环数组最大子段和
    UVa 11149 矩阵的幂(矩阵倍增法模板题)
    POJ 1236 Network of School
    UVa 11324 最大团(强连通分量缩点)
  • 原文地址:https://www.cnblogs.com/wanglijun/p/8900694.html
Copyright © 2011-2022 走看看