This post is a follow up to How to Setup APCu settings posted in 2018. I am still unclear on how to configure the Admin account in admin/apcu.php
. Specifically, what account is ADMIN_USERNAME
in:
defaults('ADMIN_USERNAME','apc'); // Admin Username
defaults('ADMIN_PASSWORD','deadcafebabec79705a0f9d9c4f1b55c'); // Admin Password - CHANGE THIS TO ENABLE!!
!
Is this just for APCu, or is this the admin account from header.inc.php
? Do I need to add an apc
user as an egroupware account?
One thing is very clear, if you enable apcu and you have not configured admin/apcu.php
, egroupware freaks out. Pulling the latest commits seems to have helped. Now with APCu enabled, loading contacts, calendar, files and admin logs only the following:
[Fri Sep 22 22:55:54.261453 2023] [negotiation:error] [pid 45872] [client ::1:36322] AH00690: no acceptable variant: /usr/share/httpd/error/HTTP_NOT_FOUND.html.var
[Fri Sep 22 22:55:55.211039 2023] [fcgid:warn] [pid 45871] [client 192.168.6.104:50586] mod_fcgid: stderr: EGroupware\\Rocketchat\\Hooks::avatar_stat()Rocketchat is not configured!, referer: https://2pi.mysite.com/egroupware/login.php?cd=1&domain=default
[Fri Sep 22 22:56:54.677768 2023] [negotiation:error] [pid 45878] [client ::1:38268] AH00690: no acceptable variant: /usr/share/httpd/error/HTTP_NOT_FOUND.html.var
I don’t use Rocketchat, so I expect it to not be configured. The other negotiation:error
is odd, but doesn’t seem to hurt.
Another question, setting apc.shm_size=128M
in the site php.ini
does not seem to be respected as phpinfo()
still shows 32M
? With a password set the doesn’t seem to adversely impact operations other than not having as large of a cache. Any other concern?
Thanks for any help!