I run apache on ubuntu with php and mysql. From no where things stopped working and I have no idea why. My index.php is fully white and I get weird fatal errors for example: Uncaught Error: Class ‘mysqli’ not found, Uncaught Error: Class ‘open_imap’ not found etc.
I have no idea what to do. I have php7 and all of these things have worked without any problem until now.
phpinfo() says that i have imap and everything else installed. i have tried to restart both php and apache without any result. I have also tried to reinstall imap but since it already is installed nothing happens with that either. I have also done apt-get update