activating libcurl on xp

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
michel77
Forum Newbie
Posts: 17
Joined: Sun Nov 06, 2005 4:57 am

activating libcurl on xp

Post by michel77 »

I got the following error: Call to undefined function: curl_init() again and the phpinfo.php doesn't show curl entry.

The follwing steps were done:

1. the entry Win32DisableAcceptEx in httpd.conf is active.
2. the entry extension=php_curl.dll in php.ini is active too.
3. extension_dir = D:/[php-install-dir]/ext in php.ini
4. the file php_curl.dll exists in directory [php-install-dir]/ext
5. the files ssleay32.dll and libeay32.dll are in the [php-install-dir] and also in [win]/system32 directory
6. apache restarted

Did I forget anything ?

Tahnks in advance !
Last edited by michel77 on Mon Mar 13, 2006 12:14 pm, edited 2 times in total.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

forget to restart apache?
Ree
Forum Regular
Posts: 592
Joined: Fri Jun 10, 2005 1:43 am
Location: LT

Post by Ree »

You must also set extension directory in php.ini.
Post Reply