osx - Mac OS 10.8: apache exiting with code 1 -


i've been reading issue , have tried many things, none seem work me. after being frustrated xampp, i'm trying setup development environment locally using apache that's installed (along php , mysql).

whenever do:

sudo apachectl start 

nothing happens, , console displays:

8/23/13 3:21:08.262 pm com.apple.launchd[1]: (org.apache.httpd[1086]) exited code: 1 8/23/13 3:21:08.262 pm com.apple.launchd[1]: (org.apache.httpd) throttling respawn: start in 10 seconds 

i've tried doing suggestion common, seems to make directory error log, , chmod 777 it.

if do:

sudo apachectl -t 

i get:

warning: documentroot [/usr/docs/dummy-host.example.com] not exist warning: documentroot [/usr/docs/dummy-host2.example.com] not exist httpd: not reliably determine server's qualified domain name, using 10.5.120.124 servername syntax ok 

i see ip address in 3rd line there, , i'm thinking maybe that's source of issue? if can give me advice might help, that'd great.

thanks!

just follow on else might encountering issue, ended being amiss in virtual hosts file. after combing through that, there syntax issues going on was, in turn, causing issue happen.


Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -