22

PHP CURL does not work - WAMP on Windows 7 64-bit

 3 years ago
source link: https://www.codesd.com/item/php-curl-does-not-work-wamp-on-windows-7-64-bit.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

PHP CURL does not work - WAMP on Windows 7 64-bit

advertisements

I got my WAMP installed on my windows 7 64bit. cURL is not working, but still I got it enabled from the WAMP tray.

I have also uncommented extension=php_curl.dll in php.ini for both the PHP and Apache folder.

Windows give me an error message,

PHP Startup: unable to load dynamic library 'c:/wamp/bin/php/php5.4.3/ext/php_curl.dll' - the application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-lin sxstrace.exe tool for more detail."

How can I fix this problem?


Go to http://www.anindya.com/php-5-4-3-and-php-5-3-13-x64-64-bit-for-windows/ and download the cURL version that corresponds to your PHP version under "Fixed curl extensions:".

So if you have PHP 5.3.13, download "php_curl-5.3.13-VC9-x64.zip". Try the "VC" version first. Then replace the php_curl.dll in ext folder. This worked for me.

Related Articles

PHP cURL does not save videos on Windows 8

I am trying to get files from an rss feed XML, change the name of them and store them locally on a Window 8 machine. It runs perfectly in MAMP on OS X but when I run the same code in WAMP the files are 0 bytes, just the file name is there from the fo

Php exec () does not work with CERTAIN Windows environment variables

I am trying to run a couple commands from PHP with exec() and it seems to work only for some of the commands defined in my windows environment variables but not for all. In my command prompt I can run all of this commands succesfully from any path (C

PHP Curl does not work

I am new here and not a pro in php but need a small help. Actually I was given a code by my service prodvider to upload on my hosting. But when i uploaded that code on my hosting account it didnt work well and after contact the support I was told to

php curl does not work properly

This question already has an answer here: How do I remove  from the beginning of a file? 20 answers I have been trying to get a web content from a link using PHP. I have tried using file_get_contents() and curl but both are not working with the li

The cURL command line with filled URLs works, PHP CURL does not work

So, I have an Amazon S3 encoded URL that I want to download. If I pass the URL along without quotes, I get a 403 Forbidden response from S3. curl -O https://zencoder-temp-storage-us-east-1.s3.amazonaws.com/t/20141008/413f96bd17a210c0cfe2997d83a4782c/

PHP CUrl does not work on Aliexpress. Is the application filtered?

I have an script for extracting products from Aliexpress and analyze it information, but it stopped working a few weeks ago. I noticed my cUrl GET request is not working like it did before, now it is being redirected to the login page. Chrome can acc

PHP CURL does not work correctly in Apache under Windows

I have recently set up apache+php+mysql from scratch and everything seems to be working fine except the cURL , imap and interbase extensions of PHP The ext directory has all the necessary dlls including php_curl.dll and the other mentioned extensions

php curl does not work, returning the blank page, how can I emulate the real browser

I want to fetch some details from a website , my code is working fine in wampserver but when i uploaded the file on a real server i am not getting any result ,its showing me an empty page here is my code. <?php error_reporting(E_ALL); $htm = my_curl(

Sending POST data via PHP CURL does not work

Using the code below, I'm unable to send any POST data. The page that is supposed to receive it, isn't receiving it for some reason.. $url = "http://www.somesite.com/curl_test_page.php"; $employee_id = 5; $post_fields = "employee_id="

php -fpm does not work exec, system, shell_exec, only CLI

php-fpm, nginx exec when in use .phpfiles() shell_exec() system() works fine from the command line. Example when works well: #php myphp.php myphp.php contains: <?php exec('ping -c 3 google.com', $output); print_r($output); ?> But if I put on my brow

HTML5 audio with PHP script does not work on iPad / Iphone

Ok, I'm trying to play an HTML audio code on iPad but does not work. I created one PHP script to send to the MP3 request to the HTML5 audio code mp3_file_player.php?n=mp3file.mp3 The player is here: http://www.avault.com/news/podcast-news/john-romero

Php strtotime does not work

I got an issue on below script, assume $exp_date is retrieved from db, I want to compare expiry date with today date to check whether membership's is still alive. There is nothing to display but only Time Expired, what's wrong with the code? The data

(PHP) str_replace does not work when inserting into the database

i have a problem. I am not good at php, so i am asking for help. I made table in database with couple of rows: Also i have simple (probably not safe) (insert data) script: Connection: $db = new PDO('mysql:host=localhost;dbname=xxx;charset=utf8', 'xxx

PHP exec () does not work on AppServ

I'm now facing the following problem. Please help me out. I have two file in the same directory: test.php and test.r test.php <?php exec("Rscript test.r"); ?> test.r d=c(1:10); write.csv(d, file="test.csv", fileEncoding="utf

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK