I was using PHP 5.6 previously. Today I installed PHP 7 and switched to it. I started getting
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
When I checked the log I got this error
[Sun Dec 27 01:05:56 2015] [error] [client 162.158.51.196] Premature end of script headers: index.php
[Sun Dec 27 01:05:56 2015] [error] [client 162.158.51.196] /usr/local/apps/php70/bin/php-cgi: error while loading shared libraries: libgmp.so.10: cannot open shared object file: No such file or directory