[php-src] Issue #21423: The WordPress code base has outgrown the defaults for opcache.memory_consumption and opcache.interned_strings_buffer

[email protected] (OllieJones)
Newsgroups php.bugs
Message-ID <[email protected]>
Issue: https://github.com/php/php-src/issues/21423
Author: OllieJones

### Description

The WordPress code base has been growing, and it's now too big for the OPcache default sizes.

In php8.3 (on Ubuntu at any rate), the defaults, as you know, are (in MiB):
```
opcache.memory_consumption=128 
opcache.interned_strings_buffer=8
```

WordPress 6.9.4 and 7.0beta4 both run these caches completely full for relatively simple sites.  That means a typical WordPress site isn't getting all the benefit of caching, which hammers performance and frustrates server operators and site owners.

I respectfully suggest you double these default values in future releases. 

(I'm working on a Site Health Check feature for WordPress to inform site owners about this issue. It's harder to communicate with server operators.) 

https://github.com/rlerdorf/opcache-status shows the problem clearly on any site.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.