Skip to content

Update download link to point to downloads.php#1920

Open
vincent-bru wants to merge 2 commits into
php:masterfrom
vincent-bru:patch-1
Open

Update download link to point to downloads.php#1920
vincent-bru wants to merge 2 commits into
php:masterfrom
vincent-bru:patch-1

Conversation

@vincent-bru

Copy link
Copy Markdown

No description provided.

@sy-records

sy-records commented Jun 14, 2026

Copy link
Copy Markdown
Member

Normally, when I visit /downloads, I should be redirected to /downloads.php. It works fine when I test it locally, but for some reason it doesn't work on php.net.

web-php/error.php

Lines 188 to 194 in 03ab57c

// Redirect if the entered URI was a PHP page name (except some pages,
// which we display in the mirror's language or the explicitly specified
// language [see below])
if (!in_array($URI, ['mirror-info', 'error', 'mod'], true) &&
file_exists($_SERVER['DOCUMENT_ROOT'] . "/$URI.php")) {
mirror_redirect("/$URI.php");
}

Could you take a look at this? @derickr

@vincent-bru

Copy link
Copy Markdown
Author

Normally, when I visit /downloads, I should be redirected to /downloads.php. It works fine when I test it locally, but for some reason it doesn't work on php.net.

Could you take a look at this? @derickr

It means it is a server config thing. (htaccess not hitting the right spot?)

@derickr

derickr commented Jun 15, 2026

Copy link
Copy Markdown
Member

I can't reproduce this, https://www.php.net/downloads works for me.

@vincent-bru

vincent-bru commented Jun 15, 2026

Copy link
Copy Markdown
Author

I can't reproduce this, https://www.php.net/downloads works for me.

go on php.net, click on the php8.5 logo from the menu
image
now click on the "Upgrade to php8.5" button in the banner
image

@derickr

derickr commented Jun 15, 2026

Copy link
Copy Markdown
Member

@vincent-bru I did that. Works for me.

@vincent-bru

Copy link
Copy Markdown
Author

@vincent-bru I did that. Works for me.

Ok, on firefox, edge, chrome on my pc and laptop it doesn't work but when I go private it works (no extensions in both test)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants