Tuesday, 15 June 2010

localhost doesn't work on Yosemite -



localhost doesn't work on Yosemite -

i have today upgraded yosemite. i've not had mac long. update localhost doesn't work. chrome returns webpage not available. i've tried

sudo apachectl start seek , no luck. i'm new mac user , haven't had undergo os update, not sure start.

i've stolen next https://github.com/liip/php-osx/issues/75 , http://php-osx.liip.ch/#uninstall

1. reinstall php

homebrew helps this

brew update brew upgrade brew uninstall --force php54 brew unlink php54 brew uninstall --force php55 brew unlink php55 rm -rf /usr/local/php5* brew install php55 2. libphp5.so?

please comment out existing 'loadmodule php5_module' in /private/etc/apache2/httpd.conf , add together this

loadmodule php5_module /path/to/lib/libphp5.so 3. delete +php-osx.conf , +entropy-php.conf

delete files

+php-osx.conf +entropy-php.conf

in

/etc/apache2/other 4. testing if works

try start apache with

sudo apachectl start

osx-yosemite

No comments:

Post a Comment