-
-
Notifications
You must be signed in to change notification settings - Fork 4
Add preloading info in php.ini #15
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
Conversation
nicolas-grekas
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Beware, I think the name changed from 4.4 to 5.1
e39d025 to
e8573bf
Compare
|
@nicolas-grekas fixed |
|
@localheinz we should add this to our php.ini, too 👌🏻 |
This PR * [x] adds an `opcache.preloading` configuration Follows symfonycorp/cloud-templates#15.
This PR * [x] adds an `opcache.preloading` configuration Follows symfonycorp/cloud-templates#15.
|
@fabpot it looks like this does not work on SfCloud in combination with Afterwards my logs are showing: Which is correct, it is not in Another option would be todo some "magic" on SfCloud side and replace cc @localheinz |
|
That's for bugs.php.net... |
|
About the warnings in your first screenshot @OskarStark, you should investigate them, that's possibly on your side to fix. |
|
Will do, thanks |
…ache.preload predictable (nicolas-grekas) This PR was merged into the 4.4 branch. Discussion ---------- [FrameworkBundle] generate preload.php in src/ to make opcache.preload predictable | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - As seen in symfonycorp/cloud-templates#15, having the path of the preload file vary by env+debug makes configuring PHP.ini settings impossible. This PR dump a new `preload.php` file in `src/` when `cache:clear` is called. This makes the path predictable. This is submitted as a bugfix because the current behavior is barely usable without this change. Commits ------- 54c965c [FrameworkBundle] generate preload.php in src/ to make opcache.preload predictable
…ache.preload predictable (nicolas-grekas) This PR was merged into the 4.4 branch. Discussion ---------- [FrameworkBundle] generate preload.php in src/ to make opcache.preload predictable | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - As seen in symfonycorp/cloud-templates#15, having the path of the preload file vary by env+debug makes configuring PHP.ini settings impossible. This PR dump a new `preload.php` file in `src/` when `cache:clear` is called. This makes the path predictable. This is submitted as a bugfix because the current behavior is barely usable without this change. Commits ------- 54c965c7d0 [FrameworkBundle] generate preload.php in src/ to make opcache.preload predictable
|
See 1656fdb for an update of the default values. |


No description provided.