Web Development Problems with Apache following MacOSX upgrade to Yosemite

Yosemite OSX

 

If you’ve just installed the Yosemite beta on your development machine and your web environment has stopped working – as it usually does following a major OSX update – it’s likely this.

Apache has been upgraded to 2.4 from 2.2 and you’ll need to adjust your Directory directives as follows:

2.2 configuration:

Order allow,deny
Allow from all

2.4 configuration:

Require all granted

 

Here’s the full upgrade page from Apache.org

PHP is also upgraded to version ¬†5.5.9 (cli) (built: May 10 2014 21:37:28). I’ve not encountered any major issue there yet but it’s worth reading upgrade pages on that too. Here’s the PHP page on the changes and compatibility¬†issues.

 

Leave a Reply