Skip to content

PHP 8.1 | NewIniDirectives: account for PHP 8.1 changes#1329

Merged
wimg merged 3 commits intodevelopfrom
php-8.1/newinidirectives-account-for-php-8.1-changes
Mar 16, 2022
Merged

PHP 8.1 | NewIniDirectives: account for PHP 8.1 changes#1329
wimg merged 3 commits intodevelopfrom
php-8.1/newinidirectives-account-for-php-8.1-changes

Conversation

@jrfnl
Copy link
Copy Markdown
Member

@jrfnl jrfnl commented Mar 9, 2022

PHP 8.1 | NewIniDirectives: add support for Fibers

Support for Fibers has been added.

I've gone through all PRs I could find related to this and this was the only in directive I could find to account for.

Includes unit tests.

Refs:

PHP 8.1 | NewIniDirectives: handle new mysqli.local_infile_directory ini

New INI directive mysqli.local_infile_directory

The mysqli.local_infile_directory INI directive has been added, which can be used to specify a directory from which files are allowed to be loaded. It is > only meaningful if mysqli.allow_local_infile is not enabled, as all directories are allowed in that case.

Includes unit tests.

Refs:

PHP 8.1 | NewIniDirectives: handle new pm.max_spawn_rate ini

  • FPM:
    . Added new pool option for the dynamic process manager called
    pm.max_spawn_rate. It allows to start number of children in a faster rate
    when dynamic pm is selected. The default value is 32 which was the previous
    hard coded value.

Includes unit tests.

Refs:

Related to #1299

jrfnl added 3 commits March 9, 2022 02:38
> Support for Fibers has been added.

I've gone through all PRs I could find related to this and this was the only in directive I could find to account for.

Includes unit tests.

Refs:
* https://www.php.net/manual/en/migration81.new-features.php#migration81.new-features.core.fibers
* https://wiki.php.net/rfc/fibers
* https://www.php.net/manual/en/language.fibers.php
* php/php-src#6875
* php/php-src@c276c16
…` ini

> New INI directive `mysqli.local_infile_directory`
>
> The `mysqli.local_infile_directory` INI directive has been added, which can be used to specify a directory from which files are allowed to be loaded. It is > only meaningful if `mysqli.allow_local_infile` is not enabled, as all directories are allowed in that case.

Includes unit tests.

Refs:
* https://www.php.net/manual/en/migration81.new-features.php#migration81.new-features.mysqli.local_infile_directory
* php/php-src#6448
* php/php-src@da011a3
> - FPM:
>   . Added new pool option for the dynamic process manager called
>     `pm.max_spawn_rate`. It allows to start number of children in a faster rate
>     when dynamic pm is selected. The default value is 32 which was the previous
>     hard coded value.

Includes unit tests.

Refs:
* https://github.com/php/php-src/blob/f67986a9218f4889d9352a87c29337a5b6eaa4bd/UPGRADING#L240-L243
* https://github.com/php/php-src/blob/33cd61c9045ae8675448456cdda6fb244b2efa01/NEWS#L280-L281
* php/php-src#6753
* php/php-src@eac1609
@jrfnl jrfnl added Type: enhancement PR: quick merge PR only contains relatively simple changes PR: ready for review labels Mar 9, 2022
@jrfnl jrfnl added this to the 10.0.0 milestone Mar 9, 2022
@jrfnl jrfnl requested a review from wimg March 9, 2022 02:03
@wimg wimg merged commit b0b7770 into develop Mar 16, 2022
@wimg wimg deleted the php-8.1/newinidirectives-account-for-php-8.1-changes branch March 16, 2022 13:20
@jrfnl jrfnl removed PR: quick merge PR only contains relatively simple changes PR: ready for review labels Sep 4, 2022
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.

2 participants