John Davidson

php curl - Call to undefined function curl_init() php 7.2.34

0 comments
Message:


I know this question has been asked before, but none of the answer given helped me...


The extension line in the php.ini is uncommented extension=php_curl.dll


I recently updated GLPI to the last version (9.5.2, was in 9.3.1 before) so I had to change php version from 7.1.9 to 7.2.34.


It's on a WS2012R2 64bits, Wamp 3.1.0 32bits, so I put php in 32bits too.


I checked dependencies with doing "deplister.exe ext\php_curl.dll" and all is "OK" now (a few dll were missing, I copied them from another php version).


I have tried :



  • reboot the server (at least once)

  • restart wamp (at least once)


Do you have any idea on how to solve this ?


I can have a look at any solutions


[EDIT] solution is in comments : this was solved downgrading php from 7.2.34 to 7.2.10



My Answer:
php -m and curl is not listed there. I also checked the phpinfo() and curl is not listed there either._I tried to restart Apache, restart the server, reinstall Wamp, reinstall php_curl.dll, but nothing worked._I also tried to use the full path in the extension line in php.ini, but still nothing._I'm out of ideas, can someone help me with this issue?

Rate this post

5 of 5 based on 2371 votes

Comments




© 2024 Hayatsk.info - Personal Blogs Platform. All Rights Reserved.
Create blog  |  Privacy Policy  |  Terms & Conditions  |  Contact Us