PHP has many extensions that are disabled by default in the php.ini file. Having a location for PHP folder there will not work. In that case, double-check that you didn't add the PHP location in Path for user variables. If it is enabled, the script will display bool(true), if on other hand it is still not enabled, it will display bool(false). We could confirm that the cURL is working by using the phpinfo() function that outputs all the PHP configuration information, but to just check for the cURL extension, we can use the following code: Testing if PHP cURL extension really is enabled The PHP cURL extension should now be active, so let's test if this is indeed the case. If restarting the server doesn't work, restarting the computer should do the trick.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |