I just moved my website to another server with upgraded specifications but I got stuck with the slow performance.
it was working great on old server but somehow on new server, when I do php user login, server responding me in 5 minutes! yeah, php executation takes 5 minutes long. Without logging in (using php sessions) it's working as expected. I'm using php+mysqli.
here is the comparision of two servers:
Old
- Apache Version: Apache/2.2.15 (CentOS)
- PHP Version: 5.4.0
- MySQL version: mysqlnd 5.0.10 - 20111026 - $Revision: 323634 $
New
- Apache Version: Apache/2
- PHP Version: 5.4.3
- Database client version: libmysql - 5.1.62
What should I do? I can't really figure out what's going on..
thank you.