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

From: Date: Sun, 21 May 2006 02:30:50 +0000
Subject: #37534 [Bgs->Opn]: 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-97418@lists.php.net to get a copy of this message
ID: 37534 User updated by: compudyne23-php at yahoo dot com Reported By: compudyne23-php at yahoo dot com -Status: Bogus +Status: Open Bug Type: Reproducible crash Operating System: Windows XP Pro PHP Version: 4.4.2 New Comment: I did search the database, and was unable to find the same bug. I searched for "copy", "apache", "crash", "copy function", etc. If I missed something, and you know the answer, could you please point me in the right direction? It doesn't help much to be told to search the database when I already have and came up with nothing. I expected a slightly more helpful response than that... -J- Previous Comments: ------------------------------------------------------------------------ [2006-05-20 13:55:03] tony2001@php.net Please search bug database before creating new reports. Thank you. ------------------------------------------------------------------------ [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 (#97418) next »