Skip to content

Update minimum versions of development tools #3346

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

Merged
merged 2 commits into from
Apr 25, 2024

Conversation

petk
Copy link
Member

@petk petk commented Apr 25, 2024

This updates the development tools versions required to configure and build PHP across various versions:

  • autoconf:
    • PHP 7.3 and later: 2.68+
    • PHP 7.2: 2.64+
    • From PHP 5.4 to 7.1: 2.59+
  • re2c:
    • From PHP 8.3 and later 1.0.3+
    • From PHP 5.2 to 8.2: 0.13.4+
    • PHP 5.1 required 0.9.11+ (not noting in the docs due to obsoletion)
  • bison:
    • From PHP 7.4 and later: 3.0.0+
    • From PHP 7.0 to 7.3: 2.4+ (including Bison 3.x)
    • From PHP 5.5 to 5.6: 2.4 to 2.7
    • PHP 5.4: 1.28, 1.35, 1.75, 2.0 to 2.6.4

PHP versions are sorted in reverse order from newest to oldest PHP.

This is also a sync with php/web-php#983 because these are listed on two places. In this docs and in here https://www.php.net/git.php

Maybe we could simplify the https://php.net/git.php and link this documentation page there.

Also, from what I see is that PHP 5.x is somehow trying to become removed from the manual. If that's so then maybe these coulb be noted like this PHP 7.1 and older 🤔

@petk petk marked this pull request as draft April 25, 2024 13:13
* autoconf:
  * PHP 7.3 and later: 2.68+
  * PHP 7.2: 2.64+
  * From PHP 5.4 to 7.1: 2.59+
* re2c:
  * From PHP 8.3 and later 1.0.3+
  * From PHP 5.2 to 8.2: 0.13.4+
  * PHP 5.1 required 0.9.11+ (not noting in the docs due to obsoletion)
* bison:
  * From PHP 7.4 and later: 3.0.0+
  * From PHP 7.0 to 7.3: 2.4+ (including Bison 3.x)
  * From PHP 5.5 to 5.6: 2.4 to 2.7
  * PHP 5.4: 1.28, 1.35, 1.75, 2.0 to 2.6.4
@petk petk force-pushed the patch-autoconf-re2c branch from f5ec4c6 to a624608 Compare April 25, 2024 14:41
@petk petk marked this pull request as ready for review April 25, 2024 14:45
@Girgias Girgias merged commit 645c1b0 into php:master Apr 25, 2024
2 checks passed
@petk petk deleted the patch-autoconf-re2c branch April 25, 2024 21:24
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.

2 participants