Prabhu Prabhu - 1 month ago 7
PHP Question

Upgrading php in mamp breaks apache

I have

OSX Mavericks
, with
MAMP, apache2.2.27 and php5.2.17, php5.4.10
. Normally, I switch between these php versions and it works perfectly fine.

Now I downloaded
from MAMP site and extracted to
directory. It has similar structures to other php versions. I also changed the name of another php version to
. MAMP now presents
in select options.

Now, it works fine with
. But my Problem is when I try to change this to
, apache wont start and generates SIGTERM error.

[notice] caught SIGTERM, shutting down

Following line is added automatically by MAMP to
, which I presume is fine.

LoadModule php5_module /Applications/MAMP/bin/php/php5.4.34/modules/

I cannot find missing link for this.


I had the same problem. I tried deleting the previous php versions that you don't need and install fresh version of PHP. The problem was solved. It might be because it is trying to access renamed php installation by old name.