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
Remove --disable-opcache-file-cache option #3799
Conversation
This is no longer an experimental feature, and we have the ability to control this at runtime via an ini setting.
No objections. Please merge. |
Merged c32da66 Ta. |
Do we also add this change also to UPGRADING file? I think it's better to have longer changelog files than searching commit logs where a configure option has been removed and causes |
Sure, go ahead ... the option removed was |
Upgrading changelog updated via c706a26. Thanks. |
@petk This note should go to UPGRADING, not UPGRADING.INTERNALS. |
I thought build system changes go there... Under which section should this go to then? Because in the internals file there is a dedicated section for build system changes. And this changes the defined constant in one of the header files which is relevant more for internals developers than PHP developers. |
I thought that UPGRADING.INTERNALS is for extension authors only, so changes to configure options should go into UPGRADING. @nikic even added a new section regarding pkg-config related configure options changes to UPGRADING. This removal could go to the “Other Changes to Extensions” section. Maybe an additional note in UPGRADING.INTERNALS is appropriate, too. |
Before in the /* Define to enable file based caching (experimental) */
#define HAVE_OPCACHE_FILE_CACHE 1 After this patch in the |
I believe it should go into both |
@petk The removal of HAVE_OPCACHE_FILE_CACHE does not need to be documented. And yes, changes to configure options go into UPGRADING, as they are user-facing changes. |
Sounds good. Change coming up to the UPGRADING file only then to the section "Other Changes to Extensions". Important here is that it's just documented somewhere that a configure option has been removed... Thanks for the tips.
|
This is no longer an experimental feature, and we have the ability to control this at runtime via an ini setting already. There doesn't seem to be any good reason for also having a compile-time option which requires littering the whole code with
HAVE_OPCODE_FILE_CACHE
checks. Case in point, the--disable-opcache-file-cache
build is currently broken, because such a check was missed in one place.@dstogov Any objections?