hello guys anybody tell me how to enable php extension in php script not from php.ini. if there is any function or method available or not
Thanks
Follow below steps to enable CURL via the php.ini
1.Locate your PHP.ini file. (normally located at in the bin folder of your apache install e.g.)
2.Open the PHP.ini in notepad.
3.Search or find the following : ';extension=php_curl.dll'
4.Uncomment this by removing the semi-colon ';' before it.
5.Save and Close PHP.ini.
6.Restart Apache
Try to do
sudo nano /etc/php/7.4/apache2/conf.d/php.ini
add this: extension=curl.so
Restart apache
So now the problem is solved
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With