It works on localhost and also under windows.
where in site health do you see APC info?
can you send a screenshot?
screen2.link
What happens if you run this code:
<pre><?php
print_r(apcu_cache_info()['mem_size']??'');
When I run the code I get a 0
I meant the /wp-admin/site-health.php. I can’t upload images here, but this is from the WP health page:
You should use a persistent object cache
Performance
A persistent object cache makes your site’s database more efficient, resulting in faster load times because WordPress can retrieve your site’s content and settings much more quickly.
Your hosting provider can tell you if a persistent object cache can be enabled on your site. Your host appears to support the following object caching services: APCu.
And this from my php info
apcu
APCu Support Enabled
Version 5.1.24
APCu Debugging Disabled
MMAP Support Disabled
Serialization Support php
Build Date Nov 29 2024 01:59:27
And from /wp-admin/plugins.php
atec Cache APCu
| Deactivate | APCu extension required!
and finally on the plugin’s page
APCu Object Cache
APCu extension is NOT installed/enabled.
The object cache is the main feature of the plugin and will speed up your site
You can use screen2.link to post images.
what do you get?
<pre><?php
echo 'hello';
print_r(apcu_cache_info()['mem_size']??'');
echo '<br>';
print_r('ext'.extension_loaded('apcu'));
echo '<br>';
print_r('enabled'.apcu_enabled());
echo '<br>';
Please try to
#apc.serializer=php
it might also be useful to in php_apcu_bc.dll for APCu with backward APC compatibility
Hi,
Thanks for your support. I’ve just noticed that it is working fine with my other localhost sites, so it must be something with my particular WP installation. I’ll figure it out myself. For now, I can confirm that it works for localhost.
Regards
Tnx, positive review always welcome.
New version is available, please update and let me know.