Skip to content

First stab at a prototype for revamping the download instructions page #1287

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 18 commits into
base: master
Choose a base branch
from

Conversation

derickr
Copy link
Member

@derickr derickr commented Jul 3, 2025

No description provided.

Copy link
Contributor

github-actions bot commented Jul 3, 2025

🚀 Regression report for commit 909539d is at https://web-php-regression-report-pr-1287.preview.thephp.foundation

Copy link
Contributor

github-actions bot commented Jul 3, 2025

🚀 Preview for commit 909539d can be found at https://web-php-pr-1287.preview.thephp.foundation

@derickr derickr force-pushed the redesign-downloads-page-prototype branch from 54114c1 to c0a7eda Compare July 30, 2025 10:54
@derickr derickr force-pushed the redesign-downloads-page-prototype branch from c0a7eda to 29774dc Compare July 30, 2025 10:57
@@ -2,5 +2,5 @@
On the command line, run the following commands:
</p>
<pre><code class="language-powershell line-numbers">
powershell -c "irm https://php.net/downloads/install.ps1 <?= $version; ?> | iex"
powershell -c "& ([ScriptBlock]::Create((irm 'https://php.net/install/windows.ps1'))) -Version <?= $version; ?>"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be https://www.php.net/install/windows.ps1 to avoid redirects. I'm also thinking that instead of install, the directory should be include/download-instructions, like the other files.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've fixed the domain part of this now.

# Add the packages.sury.org/php repository.
sudo apt update
sudo apt install -y curl
curl -sSL https://packages.sury.org/php/README.txt | sudo bash -x
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we should tell users to curl | bash external sources. It's not a great way to teach devs security practises.

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

Successfully merging this pull request may close these issues.

3 participants