zoukankan      html  css  js  c++  java
  • 添加FB登陆时,需要curl扩展

    安装curl扩展遇到一个傻逼问题

    [root@xxx openssl]# /usr/local/php/bin/phpize
    Cannot find config.m4.
    Make sure that you run '/usr/local/php/bin/phpize' in the top level source directory of the module

    对于这个问题其实是要到php的源码包中去执行的

    cd php-5.5.30/ext/curl

    /usr/local/php/bin/phpize

    ./configure --with-php-config=/usr/local/php/bin/php-config --with-curl=/usr/local/curl

    make

    make install

    在php.ini中添加下面这段代码

    extension = curl.so

  • 相关阅读:
    wkhtmktopdf
    linux命令行抓取网页快照
    ubuntu 固定静态IP
    $http questions
    generate_scripts
    network
    IT_Qestion
    day03
    day02
    day01
  • 原文地址:https://www.cnblogs.com/jasonxu19900827/p/5331089.html
Copyright © 2011-2022 走看看