Use of undefined constant CURLOPT_POST - assumed 'CURLOPT_POST'

前端 未结 2 1335
情书的邮戳
情书的邮戳 2021-01-17 10:47

I am making a cURL request via Kohana 3.2 but I get the following error when it tries to access CURLOPT_POST constant:

Use of undefined constant         


        
2条回答
  •  情歌与酒
    2021-01-17 11:03

    I noticed extension=php_curl.dll was commented out in C:\wamp\bin\php\php5.4.12\php.ini but active via C:\wamp\bin\apache\Apache2.4.4\bin\php.ini.

    I found that uncommenting the line in C:\wamp\bin\php\php5.4.12\php.ini fixed my issue.

提交回复
热议问题