Slow processing of scripts


I have installed the phone apps correctly and the phones are configured correctly but the php script “applications.php” runs really slowly and so the phone times out before it receives the result.

I have checked the link in a browser and after about 12-15 seconds it returns the correct result but this is too long a delay for the phone to use.

How can I speed this up?