Sorry to hear that
I hope all is ok now!
About my problems, yes the socket is there.
And both starts (apachectl or systemctl ) should be run from root user.
I dont have any idea why the mysql bin path missing from path env when runs with
systemctl
P.S.
Actually you maybe right about socket permissions.
I moved the socket to new location and now is not readable by both starts.
Do you know how to check is the apache has permission to access the socket and how to give it?