I'm experience extremely slow page loading times caused by PHP taking forever to connect to a remote MySQL database.
I'm in Italy, and the server is in France. It's taking about 10s to make a connection.
The server is running Ubuntu 14.04.
I've tried disabling DNS lookups in MySQL by adding skip-name-resolve
to my.cnf
, and adding my connection's hostname to /etc/hosts
, but I'm still experiencing the same problem.
Is there something else I could try?