#37534 [Opn->Bgs]: Apache crashes when using copy() function and a URL as source (src)

From: Date: Sat, 20 May 2006 13:55:03 +0000
Subject: #37534 [Opn->Bgs]: Apache crashes when using copy() function and a URL as source (src)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-97407@lists.php.net to get a copy of this message
ID: 37534 Updated by: tony2001@php.net Reported By: compudyne23-php at yahoo dot com -Status: Open +Status: Bogus Bug Type: Reproducible crash Operating System: Windows XP Pro PHP Version: 4.4.2 New Comment: Please search bug database before creating new reports. Thank you. Previous Comments: ------------------------------------------------------------------------ [2006-05-20 06:05:30] compudyne23-php at yahoo dot com Description: ------------ I just installed Apache 1.3.35, PHP 4.4.2, and MySQL 4.1.19 on my Windows XP Pro system so I could develop a web site locally. All my scripts work on the remote site just fine, with the same versions of Apache, PHP, and MySQL (or extremely close versions). In one script, it calls the copy() function and copies an image (from a URL) to the server root. Like I said, it works fine with our hosting company; however, when testing the site locally, Apache crashes when the copy() line is executed. For a simple test, I created test.php and included this single line of code: <?php copy("http://www.google.com/intl/en/images/logo.gif", "c:\test.gif"); ?> When run, Apache crashes, with no error message or indication as to why. Safe mode is disabled, open_basedir is not used, and I have done a lot of research without anything turning up. Thank you for time. I hope this is resolved quickly. -J- Reproduce code: --------------- copy("http://www.google.com/intl/en/images/logo.gif", "c:\test.gif"); Expected result: ---------------- It should work... Actual result: -------------- Apache crashes. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37534&edit=1

« previous php.bugs (#97407) next »