php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #42801 php5ts.dll module throws an error when invoking curl_version function
Submitted: 2007-09-30 05:53 UTC Modified: 2007-10-11 01:00 UTC
Votes:3
Avg. Score:4.3 ± 0.9
Reproduced:3 of 3 (100.0%)
Same Version:2 (66.7%)
Same OS:2 (66.7%)
From: oss_psuri at yahoo dot com Assigned:
Status: No Feedback Package: cURL related
PHP Version: 5.2.4 OS: Windows 2k3 server
Private report: No CVE-ID: None
 [2007-09-30 05:53 UTC] oss_psuri at yahoo dot com
Description:
------------
Access violation occurs in httpd.exe for php5ts.dll module On Windows  

The procedure to reproduce this bug is as follows.
1.Put curl_test.php in Document Root of Apache.(curl_test.php code given in Reproduce code section)
2.Access http://localhost/curl_test.php by IE.
3.Watch the application log of the event viewer. (extract from the error log is provided in actual result section)




Reproduce code:
---------------
<?php

$ver = curl_version();
echo is_array($ver) ? 'Array' : 'not an Array';
//curl_test.php file
?>

Expected result:
----------------
curl version information

Actual result:
--------------
Application Error in Event View log

Faulting application httpd.exe, faulting module php5ts.dll : fault address 0x00004160

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-10-01 10:48 UTC] jani@php.net
Try the latest snapshot:
http://snaps.php.net/win32/php5.2-win32-latest.zip

And make sure you replace ALL old PHP related dlls with the ones that come with the package.

 [2007-10-01 23:57 UTC] oss_psuri at yahoo dot com
Hi,
I tried replacing the dlls but apache does not start after I replace the dlls.

I get the following error in the Application log of Event Viewer
cannot load php5apache2.dll module

I checked the httpd.conf file for the LoadModule php5_module entry and the filename/path mentioned in the directive corresponds to the actual location of the php5apache2.dll.

Have I missed something? Please let me know

Thanks,
 [2007-10-03 08:20 UTC] tony2001@php.net
Remove all files that might be related to PHP and do clean install from scratch.
 [2007-10-11 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2008-10-10 08:05 UTC] gorka dot guridi at gmail dot com
Try to comment php_threads.dll extension in php.ini
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 12:01:31 2024 UTC