I just had a problem running MAMP PHP very slowly. Ive reinstalled MAMP and still had problems.
As a comparison (I thought maybe my local OS OS machine for development might have had problems), I tried the following in the terminal and disabled php.ini with -n
/usr/bin/php
This returns the result immediately.
/Applications/MAMP/bin/php/php5.5.14/bin/php
This returns the output after about 3-5 seconds.
I tried to run many other commands and scripts. MAMP PHP seems to have a 3-5 second delay.
I have tried other versions of MAMP PHP and they still have the same problems.
I can not come up with anything that has recently changed on my machine to make it slow down (e..g no php.ini changes, OS X updates)
I really do not know what causes this problem, or even how to investigate the situation further. Help with thanks.
UPDATE
Strange, the only problem is that when you run MAMP PHP at the command line. When loading a website using MAMP does not slow down. Even more confusing ...
command-line-interface php mamp
Gaz_Edge
source share