Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

调用$app =app('wechat');时报错Use of undefined constant CURLOPT_IPRESOLVE - assumed 'CURLOPT_IPRESOLVE' #633

Closed
jkgeekJack opened this issue Apr 5, 2017 · 1 comment

Comments

@jkgeekJack
Copy link

我用的环境

PHP 版本:7.0
overtrue/wechat 版本:3.0

问题及现象

调用$app =app('wechat');时报错Use of undefined constant CURLOPT_IPRESOLVE - assumed 'CURLOPT_IPRESOLVE'

in Http.php line 74
at HandleExceptions->handleError('8', 'Use of undefined constant CURLOPT_IPRESOLVE - assumed 'CURLOPT_IPRESOLVE'', '/home/xjk/PhpstormProjects/leguanzhu/vendor/overtrue/wechat/src/Core/Http.php', '74', array('defaults' => array('timeout' => '5'))) in Http.php line 74
at Http::setDefaultOptions(array('timeout' => '5')) in /home/xjk/PhpstormProjects/leguanzhu/vendor/overtrue/wechat/src/Foundation/Application.php line 124
@overtrue
Copy link
Collaborator

overtrue commented Apr 5, 2017

@overtrue overtrue closed this as completed Apr 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants