|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21246 Download via wget or other command line utils not possible
Submitted: 2002-12-28 09:29 UTC Modified: 2002-12-28 11:20 UTC
Avg. Score:4.2 ± 0.8
Reproduced:3 of 3 (100.0%)
Same Version:1 (33.3%)
Same OS:1 (33.3%)
From: bauchi at bauchi dot de Assigned:
Status: Wont fix Package: Website problem
PHP Version: 4.3.0 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
46 - 18 = ?
Subscribe to this entry?

 [2002-12-28 09:29 UTC] bauchi at bauchi dot de
hi there,

due to your new mirror system anyone trying to download php via wget or other command line utils will fail ... 
i tried it several times today, but i had to use lynx and climb my way through the pages to get the actual release..

you should consider to give people a chance to get the releases through command line utils as well.

as you know, many webservers run without a graphical interface such as X ... wget is one of the usual ways in linux to grab files from webservers :-)

wget output:
yummy:/tmp # wget -s -d -v
[1] 28248
yummy:/tmp # DEBUG output created by Wget 1.6 on linux.

parseurl ("") -> host -> opath do_download.php? -> dir  -> file do_download.php?mr= -> ndir
newpath: /do_download.php?mr=http%3A//
           => `do_download.php?mr='
Connecting to Created fd 3.
---request begin---
GET /do_download.php?mr=http%3A// HTTP/1.0
User-Agent: Wget/1.6
Accept: */*

---request end---
HTTP request sent, awaiting response... HTTP/1.0 200 OK
Date: Sat, 28 Dec 2002 15:23:04 GMT
Server: Apache/1.3.26 (Unix) PHP/4.3.0-dev
X-Powered-By: PHP/4.3.0-dev
Content-Type: text/html
X-Cache: MISS from
Connection: close

Length: unspecified [text/html]

    0K ->

Closing fd 3
16:28:32 (35.16 KB/s) - `do_download.php?mr=' saved [36]


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-28 11:16 UTC]
Please escape any shell special chars in the download URL, like ? and &, which may be interpreted specially by your shell.

Note: maybe reconsider the download URLs, or document the escape requirement for shell programs in the FAQ.
 [2002-12-28 11:18 UTC]
Or provide the parameter for wget in quotes.
 [2002-12-28 11:20 UTC]
The download link takes you to a list of mirrors from which you can download PHP source or Win32 binaries. From the mirrors you can already use wget.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Jun 16 13:01:29 2024 UTC