Skip to content
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

Blueprints: Remove setPhpIniEntry step #1288

Merged
merged 3 commits into from
Apr 21, 2024
Merged

Conversation

adamziel
Copy link
Collaborator

@adamziel adamziel commented Apr 21, 2024

Removes the setPhpIniEntry step. It doesn't work reliably – setting PHP.ini entries must happen before the PHP is initialized, but Blueprints are executed after PHP is initialized. The existing Blueprints will continue to work – the Blueprints compiler will ignore the setPhpIniEntry step and issue a console warning to notify the developer.

To set php.ini entries, either customize the php.ini files or use an mu-plugin.

Testing instructions

Run a Blueprint with a setPhpIniEntry step, confirm the Playground still runs the rest of the Blueprint.

Removes the setPhpIniEntry step. It cannot work reliably as
setting PHP.ini entries must happen before the PHP is initialized,
but Blueprints are executed after PHP is initialized.

To set php.ini entries, either customize the php.ini files or use
an mu-plugin.

 ## Testing instructions

Run a Blueprint with a setPhpIniEntry step, confirm the Playground still
loads without a crash.
@adamziel adamziel merged commit 289ec39 into trunk Apr 21, 2024
1 check passed
@adamziel adamziel deleted the remove-set-php-ini-entry-step branch April 21, 2024 19:45
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.

1 participant