How to enable cURL in PHP / XAMPP November 17, 2022 by Tarik On Debian with Apache 2: apt-get install php5-curl /etc/init.d/apache2 restart (php4-curl if it’s php4)