bikeslat.blogg.se

How to install curl php5
How to install curl php5






how to install curl php5

At this point, you need to uncomment the line by removing the semicolon at the beginning of the line, as below.Īfter saving the file, restart the Apache server. Use the package manager of your choice and the deps should be taken care of. Load the “php.ini” file located into your favorite text editor (if you are using Windows, we suggest Notepad++), then search for “php_curl”. I believe that the package php5-curl should do the trick. Step 2: Enable cURL extension in the “php.ini” file On Linux, it depends on which Linux distro the server is installed with, so you might need to run the appropriate command.įor example, with Ubuntu/Debian server, you need to run this command: sudo apt-get install php5-curlĪfter that, restart the Apache server: sudo /etc/init.d/apache2 restartĪfter the Apache server has restarted, the extension should be enabled by default.

how to install curl php5

Then I was stupid by trying to install php5-curl on the server. Fortunately, the cURL extension is pre-installed with those bundles, so you can proceed to Step 2. I have been using lighttpd for many years now and it has worked wonderfully with PHP. PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-. First, to enable the curl extension to PHP, you have 2 options: - Either you have WAMP : In this case, you can activate it by clicking on the WAMP (left-click). On Windows, people often use WAMP (Windows, Apache, MySQL, PHP) bundles for local development. This package provides a CURL module for PHP. Step 1: Ensure cURL extension for PHP is installed








How to install curl php5