Allowing modules to access outside information

Some modules require access to information outside your server. To achieve this, some modules use the cURL PHP library. If PHP is installed, the cURL library is likely to be available with your web server, but it may be disabled. The XAMPP server has cURL disabled by default.

Getting ready

To enable cURL in PHP 5 on XAMPP, you need to edit the php.ini file. This file is located in the php directory under your web server's root directory.

How to do it...

Within the file, locate the following line:

;extension=php_curl.dll

Remove the semi-colon to uncomment this line. This will enable the cURL library. Save the file after making this change. Restart the Apache server for this to take effect.

How to do it...

If you visit the phpinfo page, cURL support should be enabled.

Even with cURL enabled, you may still have problems if your site is hosted behind a firewall. If this is the case, contact your network administrator.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.176.99