Ok so i installed PHP on Ubuntu 16.04 and the server runs fine. Any plugin however using MySQLi says MySQLi class not found. I cant figure out what i need to correctly fix this issue. (Been on google for like the last hour so i figured try the forums.) EDIT: PROBABLY POSTED THIS IN WRONG CATEGORY IDK
Use the PHP binaries compiled by the team. Don't use the PHP binaries you install normally. They lack required extensions.
It is better to use the path/to/php -m command to find out which ones are actually loaded, not just exists.
This is the correct way - you probably have a PHP installation for your web server (which is configured in your apache httpd.conf fiie) , and a different one for PM (configured in start.sh). If you type php -m at the command line without doing as SOFe says then you'll get results from the one that is in your system $PATH, unless you are already in PM's PHP bin folder, so best to use the full path when checking installed modules, php version etc. Some screenshots might help us figure out exactly where your problem lies.