Why does PHP say that MySQL is not available?
If you see error messages saying that MySQL is not available for PHP, such as "The MySQL adapter 'mysql' is not available", you've probably uploaded a "php.ini" file that contains incorrect MySQL extension commands.
For example, this will happen if you upload a "php.ini" file that's intended for Windows servers instead of Linux servers.
You should simply delete the custom "php.ini" file you uploaded, and everything will work properly. If you need to change individual "php.ini" settings, see our PHP page.
Copyright © 2000-2023 Tiger Technologies LLC