Edmonds Commerce Logo
  • home
    • blog
  • ecommerce
    • product catalogue
    • order processing
    • customer services
    • stock control
    • human resources
    • management information
  • development
    • oscommerce
    • php
    • mysql
    • open source
    • performance tuning
  • design
  • marketing
  • contact us
    • pricing

Edmonds Commerce Blog

Freelance PHP Ecommerce and SEO Developer in the UK

Latest Posts

Git Ignore All Files Except PHP etc + Solution
PHP 5.3 Is Released
Netbeans 6.7 is Out. Yay :-)
RGBA Cross Browser Support + Solution

Most Popular Posts

Magento Developer UK Freelance osCommerce UK Magento UK Developers on Linked.in CRE Loaded UK

Using cURL with XAMPP

February 27th, 2008
Read More curl, xampp

If you have read through this blog, you will realise that I am a big fan of the cURL library for PHP. Also, when using windows to code – I like to use the XAMPP package to give me easy access to an Apache, PHP and MySQL stack.

So here is my quick guide to getting XAMPP to work with cURL. Its really easy:

1. Navigate to your root XAMPP folder

2. Search for all files and folder with this search query: php*.ini

3. Open up all of the files in your favourite windows text editor (try notepad++)

4. Do a find and replace: Find ;extension=php_curl.dll and replace with extension=php_curl.dll (you are just removing the semi colon). Make sure you select to replace in all opened documents

5. File -> Save All Documents

6. Restart Apache using the XAMPP control panel

Thats it – enjoy using cURL.

Related Blogs

http://www.vladimirated.com/web-development-how-to-enable-curl-on-xampp-for-win32

http://www.tildemark.com/programming/php/enable-curl-with-xampp-on-windows-xp.html

http://www.menyhart.net/blog/developer-stuff/enabling-curl-on-xampp/

http://incoherentbabble.com/2007/04/21/using-curl-in-xampp/

http://gabrieljones.com/getting-curl-to-work-in-xampp/

http://rovani.net/weblog/?p=19

Possibly Relevant Posts:

  • no matches

Feed | Respond | Trackback

2 Responses to “Using cURL with XAMPP”

  1. Chris Meller Says:
    February 27th, 2008 at 4:22 pm

    Just as a side note, since I got pinged by the related blogs section, thought I’d point out for anyone that may be wondering… You don’t technically have to edit ALL of the php.ini files, just the current running version (apache/bin/php.ini).

    The only reason any of the other php ini files exist are to facilitate XAMPP’s PHP version switching. It allows you to switch between running PHP4 and PHP5, so there are config files for each.

    If you don’t plan on switching back to PHP4, there’s no reason to edit more than one file.

  2. admin Says:
    February 27th, 2008 at 4:26 pm

    This is true, the reason I suggest editing all of the files is just in case you do decide to switch for some reason and all of sudden it stops working…

    But yes if you only ever use XAMPP in PHP5 mode then you can just edit the one file.

Leave a Reply

  • RSS Feed
  • Categories

    • apache
    • barcode
    • business
    • creloaded
    • css
    • curl
    • customer services
    • debugging
    • eclipse
    • ecommerce
    • edmondscommerce
    • email
    • excel
    • firefox
    • flash
    • gd
    • git
    • graphs
    • hosting
    • icecat
    • internet news
    • javascript
    • link building
    • linux
    • mac
    • magento
    • management
    • misc
    • mod_rewrite
    • mysql
    • open suse
    • oscommerce
    • php
    • plesk
    • portfolio
    • product catalogue
    • product feed
    • programming
    • regular expressions
    • ria
    • scraping
    • search engine optimisation
    • security
    • seo
    • spidering
    • twitter
    • ubuntu
    • Uncategorized
    • usability
    • vps
    • web design
    • web development
    • Windows
    • xampp
    • zend framework
    • zip
  • Archives

    • July 2009
    • June 2009
    • May 2009
    • April 2009
    • March 2009
    • February 2009
    • January 2009
    • December 2008
    • November 2008
    • October 2008
    • September 2008
    • August 2008
    • July 2008
    • June 2008
    • May 2008
    • April 2008
    • March 2008
    • February 2008
  • Tags

    alpha browser case creloaded css curl development directories filezilla firefox flush google googlecheckout hosts file html internet explorer jaunty links linux magento migration mod_security mysql myths oscommerce php plesk reciprocal linking rgba search engine optimisation seo spidering spotify ssl synchronisation table transparency ubuntu uk virtualbox web web design xml zend form zend framework
  • Random Posts

    • Freelance osCommerce UK
    • PHP, cURL, CURLOPT FOLLOWLOCATION and open basedir Or Safe Mode
    • Magento UK Developers Group on Linked In
    • Flash and PHP Charts and Graphs
    • osCommerce Essential Modifications
    • Setting Up Amazon's AMTU on a Linux Server
    • Speeding Up osCommerce
    • osCommerce Easypopulate File Creator Class
    • Meta Title Tag and SEO
    • Ultimate Design Test - Five Second Test
  • Most Popular Posts

    • MySQL Copy Table from One Database to Another (15)
    • PHP Email Attachment Function (10)
    • PHP Save Images Using cURL (6)
    • PHP, cURL, CURLOPT FOLLOWLOCATION and open basedir Or Safe Mode (6)
    • Magento Sites Go Down if Magentocommerce.com Goes Down (6)
  • Recent Comments

    • admin on Migrate Magento to Alternative Server
    • jon on Migrate Magento to Alternative Server
    • admin on Magento Sites Go Down if Magentocommerce.com Goes Down
    • Sam on Magento Sites Go Down if Magentocommerce.com Goes Down
    • Email Attachments with PHP | S-Carter.co.uk on PHP Email Attachment Function

Edmonds Commerce related questions? Send us a message or call us on 0844 357 0201.

Freelance PHP Web Design UK Commercial Web Design