Skip to content

Add php-src mirror and use gmp mirror site#1048

Open
crazywhalecc wants to merge 2 commits intomainfrom
fix/php-mirror
Open

Add php-src mirror and use gmp mirror site#1048
crazywhalecc wants to merge 2 commits intomainfrom
fix/php-mirror

Conversation

@crazywhalecc
Copy link
Owner

@crazywhalecc crazywhalecc commented Mar 4, 2026

What does this PR do?

Checklist before merging

If your PR involves the changes mentioned below and completed the action, please tick the corresponding option.
If a modification is not involved, please skip it directly.

  • If you modified *.php or *.json, run them locally to ensure your changes are valid:
    • composer cs-fix
    • composer analyse
    • composer test
    • bin/spc dev:sort-config
  • If it's an extension or dependency update, please ensure the following:
    • Add your test combination to src/globals/test-extensions.php.
    • If adding new or fixing bugs, add commit message containing extension test or test extensions to trigger full test suite.

@crazywhalecc crazywhalecc requested a review from henderkes March 4, 2026 07:35
@henderkes
Copy link
Collaborator

I unfortunately think the mirroring isn't going to be enough, because the site sometimes goes down entirely. I was thinking of a mirror that actually mirrors the entire data, not just reverse proxies to php.net (unless that's what you do?). Could use github releases instead, albeit not optimal, it's reachable at least.

@crazywhalecc
Copy link
Owner Author

crazywhalecc commented Mar 4, 2026

Of course it's full mirror. Using standalone server I mentioned in discord and php official rsync:

5 * * * * rsync -avzC --timeout=600 --delete --delete-after  rsync.php.net::phpweb /var/www/phpmirror.static-php.dev/

This server looks enough to host all of our services.

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.

implement fallback download for php-src

2 participants