enabling curl extension in php for 000webhost.com
First of all make sure if cURL
extension is really configured or not by using this code.
<?phpecho function_exists('curl_version') ? 1:0; // 1 = enabled , 0 = disabled.
If it is disabled, Kindly ask your webhosting provider to enable the extension. [I don't think that's a hard thing to do , instead of playing around .htaccess
and other means to enable cURL
without their knowledge. ]