Gettings segmentation fault and other errors

I’ve had some issues with a server EasyEngine v4. At first i started getting segmentation faults running any php command and now after restart of the server I keep getting the following when starting a shell for a site:

PHP Warning: PHP Startup: Unable to load dynamic library ‘curl.so’ (tried: /usr/lib/php/20170718/curl.so (/usr/lib/x86_64-linux-gnu/libgssapi.so.3: invalid ELF header), /usr/lib/php/20170718/curl.so.so (/usr/lib/php/20170718/curl.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Error response from daemon: Container 2a53dee6995506a48f758fc05bf5ef1c7fce586822c5f0df7de10c3168e721d6 is restarting, wait until the container is running

Any ideas of what might cause these issues?

Might be related to these:

https://community.easyengine.io/t/easyengine-services-not-running-on-server-reboot/11651/3

https://github.com/EasyEngine/easyengine/issues/1251

I had to do two reboots to get EE’s services to start properly.