Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I went to the php website and tried to download the latest php using wget (from ssh). but there doesn't seem to be any direct link only mirrors.

when i download using the mirror link it just creates a file named mirror.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

You need to click the main link and then you get directed to a page that has all the downloads from the different mirrors.. From there you can use wget

# wget http://us.php.net/get/php-5.3.5.tar.bz2/from/us3.php.net/mirror

--2011-01-19 05:08:48--  http://us.php.net/get/php-5.3.5.tar.bz2/from/us3.php.net/mirror
Resolving us.php.net... 208.69.120.58
Connecting to us.php.net|208.69.120.58|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://us3.php.net/distributions/php-5.3.5.tar.bz2 [following]
--2011-01-19 05:08:49--  http://us3.php.net/distributions/php-5.3.5.tar.bz2
Resolving us3.php.net... 192.41.42.26
Connecting to us3.php.net|192.41.42.26|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10806092 (10M) [application/octet-stream]
Saving to: “php-5.3.5.tar.bz2”
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.