Hi guys.
I’m having a problem with permissions and I think it may be due to the php version I’ve installed on the server.
Emails give an error forbidden 503 and so do the websites and also if I try and view websites through account and ip address I get an internal server error 500.
Just before these errors occurred the server was working fine and then httpd service failed. As I was unable to restart the service I used yum to reinstall and start the service. I then took the opportunity to upgrade the server php version from 5.3 to 7.0 and it seems that that has caused the problems I have now.
In a bid to sort that problem out I reverted back to php version 5.3 by rebuilding the selector and then restarting the httpd service. The problem continued.
Looking in Apache2 error log I see the following:
[Wed Nov 08 14:04:41.081278 2017] [:error] [pid 27686:tid 140447787747072] [client 46.229.168.66:11298] Failed loading /usr/local/php56/lib/php/extensions/ZendOptimizer.so: /usr/local/php56/lib/php/extensions/ZendOptimizer.so: cannot open shared object file: No such file or directory
300mb of log saying the same two errors.
So I rebuilt php 5.3 from selector and included ioncube and zen in the build. I then ran the following command sh /scripts/update_ioncube
restarted httpd services and the problem is still there.
Any ideas please.