Today I installed the OSX 10.9.5 upgrade and it appears to have downgraded my Apache and PHP version.

Is there an easy way to reverse this unwanted downgrade? Or do I have to reinstall apache via homebrew again?

  • Please explain what you had done to Apache on your system before the upgrade. – Daniel Oct 9 '14 at 22:41
  • I had upgraded it to 2.4, upgraded php to 5.5, I had configured httpd.conf. That seems to be lost now. Looks like the upgrade simply blew away my old httpd.conf – Henry Oct 9 '14 at 22:48
  • PHP is no longer loading in a bunch of extensions like memcached. – Henry Oct 9 '14 at 22:52
  • I think if apache will use my homebrewed version of php that will probably sort things out for today. – Henry Oct 9 '14 at 22:53
  • How did you upgrade? Did you replace the system files or install in a different path? – Daniel Oct 9 '14 at 22:53

I replaced the following line in httpd.conf:

LoadModule php5_module libexec/apache2/libphp5.so


LoadModule php5_module /usr/local/Cellar/php55/5.5.12/libexec/apache2/libphp5.so

This seems to have restored a lot of my old setup and I can work again.

| improve this answer | |
  • I guess the lesson here is to backup your apache config before you do an OSX upgrade. – Henry Oct 9 '14 at 23:15

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .