Hello,

After I install Zend Core I tried to install curl and libcurl.

The thing is in the curl side what I found is source code. Even with VB2005 installed, how in the earth am I going to compile those things?

Is there a guide on how to do it?

Also some says that after I install Zend Core actually Curl and libcurl is already there and I need only to enable it in httpd.conf

Which one is correct?

    Neither is necessarily correct, it all depends on how your system was installed and configured.

    What platform are you running on: Windows/IIS, Windows/Apache, Linux/Apache, etc.?

      Locate your PHP extensions directory. It should be defined in your php.ini file via the extension_dir setting (usually "c:/<some_path>/php/ext"). Open that folder in whatever tool you like to use to view directories, and see if it has a file called php_curl.dll in it. If it does, then all you probably have to do is uncomment the line in your php.ini file (or add it if it does not exist):

      extension=php_curl.dll
      

      Then just restart the web server and you should be good to go.

      If that does not do it, then we'll have to look further into it, but hopefully that's all you need.

        php_curl.dll is found on C:\Program Files\Zend\Core\lib\phpext

        I wonder if it's not enabled from the beginning.

        That means I can use curl from PhP but I cannot use curl line command. Am I correct?

          teguh123;10878036 wrote:

          php_curl.dll is found on C:\Program Files\Zend\Core\lib\phpext

          I wonder if it's not enabled from the beginning.

          That means I can use curl from PhP but I cannot use curl line command. Am I correct?

          OK, so did you make the change I suggested above in the php.ini, restart the web-server, and see if it works?

            Hmm... Looks like it works. Curl already show up in phpinfo()

            That simple. Glad I asked. Why isn't that enabled by default anyway>?

              I tried to download some pages via curl and it works as expected. Thanks a lot. I can only wonder how much frustration I would face if I didn't ask you guys.

                7 months later

                this is an old thread. I just want to say thank you again.

                You see, without you guys I would have compiled this and that and I don't even know what that means.

                HE HE HE

                  Write a Reply...