U
U
Uber Noob2019-02-10 01:03:08
PHP
Uber Noob, 2019-02-10 01:03:08

How to install curl extension?

Server on Ubuntu 16.04
Looked at phpinfo() curl no.
I go to php.ini which is Loaded Configuration File /etc/php/7.0/apache2/php.ini
In it I remove the semicolon before extension=php_curl.dll
I do a reboot - nothing has changed.
What else needs to be done?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
bkosun, 2019-02-10
@bkosun

PHP 7.2: sudo apt-get install php7.2-curl
PHP 7.1: sudo apt-get install php7.1-curl
PHP 7.0: sudo apt-get install php7.0-curl
PHP 5.6: sudo apt-get install php5.6-curl
PHP 5.5: sudo apt-get install php5.5-curl

https://curl.haxx.se/download.html
php.net/manual/en/curl.installation.php
PS extension=php_curl.dll is for Windows

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question