Avatar of SheppardDigital
SheppardDigital
 asked on

PHP Application Running Really slow

Hi,

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?
PHP

Avatar of undefined
Last Comment
gr8gonzo

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
gr8gonzo

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck