Edit report at http://bugs.php.net/bug.php?id=52474&edit=1

 ID:                 52474
 Updated by:         paj...@php.net
 Reported by:        donra...@php.net
 Summary:            CURL fails to load
 Status:             Bogus
 Type:               Bug
 Package:            cURL related
 Operating System:   Windows
 PHP Version:        5.2.14
 Assigned To:        pajoye
 Block user comment: N

 New Comment:

Maybe you should read the comment in the other report instead of copying
non public mail here.



Also testing what I've asked in the other report would have told you
that this problem has been resolved.



And no, there was no report before the release. The issues that Suman
refers to was something different.


Previous Comments:
------------------------------------------------------------------------
[2010-07-29 10:32:35] donra...@php.net

Mr. Pierre.



I have not submitted same bug again. And please don't sing the same song
you sing to others. What is the duplicate bug number? Please close this
bug as duplicate if there already exists a bug rather then letting me
know not to file the bug again.



Well I am surprised that the bug exists and this is the reply from one
of the person:







From: madavapeddi suman [mailto:suman.madavape...@gmail.com] 

Sent: Wednesday, July 28, 2010 1:28 PM

To: Venkat Raman Don

Subject: Re: [PHP-WIN] Problems installing cURL using PHP5.2.14



Hi Don , 



  This is suman, I used to work in OSTC Team in Microsoft .Now iam not
there .This  Problem has occured while i was testing 

RC(5.2.14RC1,5.3.3RC1) and RC2's also.At That time Pierre Joye has given
a different rebuild of the Binaries of PHP 5.2.14,5.3.3 RC's and asked
us to test and it overcame that error.



Thanks,

Suman

On Wed, Jul 28, 2010 at 1:56 PM, Venkat Raman Don
<don.ra...@microsoft.com> wrote:

Hi,



I have filed bug at http://bugs.php.net/bug.php?id=52474. Has anyone
else seen this?



If this is a genuine bug we need to repackage the MSI and re-release it.
Thoughts?. Pierre.



Thanks,

Don.



Well the surprise is that even when someone reported it in pre release
builds, the release builds still show the problem. I am stunned at it.
Rather then letting me know that not to file duplicate bugs, Mr. Pierre
what are you doing about it? If you can't fix it please shut your mouth
and be quiet.



And your statement about thanking about your interest in PHP, let me
tell you I have helped PHP community more than you. Look at IIS PHP
forum and you will know and also the PHP User Windows List. 



And now give the duplicate bug id.



Don.

------------------------------------------------------------------------
[2010-07-29 09:08:37] paj...@php.net

Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

#52452

------------------------------------------------------------------------
[2010-07-28 19:52:44] donra...@php.net

Description:
------------
I am using PHP5.2.14 NTS MSI on Windows 7. But I think Windows version
doesn't matter.

When I enable the PHP extension cURL from the MSI, it's not getting
shown as enabled in a simple phpinfo() page.



Running php-cgi.exe -v from command line gives me this error if
extension cURL is enabled:



---------------------------

php-cgi.exe - System Error

---------------------------

The program can't start because zlib.dll is missing from your computer.
Try reinstalling the program to fix this problem. 

---------------------------

OK   

---------------------------



I am not sure when this dependency was introduced or it was already
present. I believe the MSI should have the dependent DLL too. Am I
missing something?

Test script:
---------------
Part of php.ini:

[PHP_CURL]

extension=php_curl.dll



Sample Code:

<?php

// create a new cURL resource

$ch = curl_init();



// set URL and other appropriate options

curl_setopt($ch, CURLOPT_URL, "http://www.iis.net/";);

curl_setopt($ch, CURLOPT_HEADER, 0);



// grab URL and pass it to the browser

curl_exec($ch);



// close cURL resource, and free up system resources

curl_close($ch);

?> 

Expected result:
----------------
proper execution of the script.

Actual result:
--------------
[28-Jul-2010 10:51:34] PHP Fatal error:  Call to undefined function
curl_init() in C:\inetpub\wwwroot\phptest\test.php on line 3


------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=52474&edit=1

Reply via email to