For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > May 2006 > PHP / CURL









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author PHP / CURL
Algo

2006-05-09, 9:57 pm

I installed wordpress along with my apache / php / mysql setup. Everything
works fine except when I want to import my posts from blogger. It tells me
that I have to install CURL.

I went to php.net and cURL's site. Did everything they both said. And
still nothing. What do I need to do? phpinfo() does not show any cURL
stuff at all.


Drakazz

2006-05-10, 3:57 am

find your php.ini and find a line something like this:

;extension=php_curl.dll
OR
;extension=php_curl.so

then, just remove ";" from the beginning of the line and save the file.

Restart your server and you should be up with cURL.
Also, what OS are you on?
You can easily compile PHP with what you need on UNIX systems.

Thanks

Algo

2006-05-10, 9:57 pm

I tried just removing the ; and restarting my system, but to no avail. I
don't know if I can compile it as I am on windows.


Silvio Guder

2006-05-11, 7:57 am

Algo wrote:
> I tried just removing the ; and restarting my system, but to no avail. I
> don't know if I can compile it as I am on windows.
>
>

Building from source:
http://www.php.net/manual/en/instal...ws.building.php

i never compiled anyone for windows. i'm a linuxuser.
maybe your php_curl.dll exists in your module-tree. if your don't find
it, i think you have to compile it.
Algo

2006-05-12, 7:58 am

I found the solution.

I use XAMPP and the php.ini to edit is in the apache\bin folder.


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com