I have an invoicing PHP application running on a Rackspace Could server which has WHM/Cpanel installed. The application has been running fine until I used EasyApache the other day to re-compile apache and install MySQLi. Since doing that, this particular application runs really slow and renders slowly on the page.
This application was developed using mysql_query(), since changing it to use MySQLi the performance has returned to normal.
My question is, what is causing the slow down when using mysql? I'm guessing it's because in the background there are depreciation errors being generated and logged in the background? but I've setup php.ini not to display them.
Is there any way to stop this from happening as there may also be old applications on the server which are yet to be updated?