howtogeek — 2014-08-01T00:50:02-04:00 — #1
Originally published at: http://www.howtogeek.com/194160/how-to-download-php-source-from-the-terminal-with-wget/
Downloading files from the PHP mirrors is annoying, because by default the redirector makes the name of the filename change to just “mirror”. So how do you fix this? Luckily wget has a simple argument that you can use to fix it — and it is useful for many scenarios.
localhost — 2014-08-01T01:07:02-04:00 — #2
You got me really excited there for a second when I saw the post title. I thought "wow finally, a way to download the PHP source files of a website". Imagine my disappointment when I realized it was just a way to download the source files for building PHP itself
Too bad it's impossible to download the actual PHP source file of a page - disadvantages of it being a server-side language I suppose... or advantage if you want to protect your code.
Article title was a little misleading - for me at least.
geek — 2014-08-01T01:40:34-04:00 — #3
Ohh, I see how the title might imply that to most people.
I was looking for a way to script the installation of new versions of PHP on the HTG server and was annoyed by there not being a single link to download PHP from, so this article happened.
And of course while throwing this article together I realized that there is already a new version of PHP since I wrote down the command a week ago.
localhost — 2014-08-01T11:51:54-04:00 — #4
I hate it when frequently changing packages don't have a "latest.tar.gz" type file and instead just have an incremental version number. Every time you want to install it or update it, you have to go hunting around to find the latest version number, copy that url, then download it. Mildly annoying and frustrating, also nearly impossible to script too.
system — 2014-08-11T00:50:11-04:00 — #5
This topic was automatically closed after 10 days. New replies are no longer allowed.