添加FB登陆时,需要curl扩展
生活随笔
收集整理的這篇文章主要介紹了
添加FB登陆时,需要curl扩展
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
安裝curl擴(kuò)展遇到一個(gè)傻逼問題
[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
對(duì)于這個(gè)問題其實(shí)是要到php的源碼包中去執(zhí)行的
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
?
轉(zhuǎn)載于:https://www.cnblogs.com/jasonxu19900827/p/5331089.html
總結(jié)
以上是生活随笔為你收集整理的添加FB登陆时,需要curl扩展的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 架构师必看 京东咚咚架构演进
- 下一篇: 【转】关于TP3.2 验证码不显示的问题