Reputation: 646
I type in the command and i get this message
/System/Library/LaunchDaemons/org.apache.httpd.plist: Operation already in progress
So on safari i load the http://localhost
page and it gives me the error message Safari can't connect to the server "localhost".
I'm new to this so don't have much knowledge on this but the reason i want to log in to this is to run my php scripts and test my websites on my laptop.
Ever since the os upgrade from mavericks to yosemite i couldn't run any php scrip.
Upvotes: 12
Views: 22812
Reputation: 356
I had to uncomment (remove the #
character) the line "LoadModule php5_module...
" in /etc/apache2/httpd.conf
to re-enable PHP after upgrading, you may have to as well.
Upvotes: 3
Reputation: 19
"httpd.conf" file
Option FollowSymLinks Multiviews --->>> Options Indexes FollowSymLinks Multiviews
must be OK
Upvotes: 1
Reputation: 264
First check config syntax
Run this command:
apachectl configtest
Check this post: http://mallinson.ca/osx-web-development/ (Section Apache, on yellow background you have info about OS X 10.10)
Upvotes: 17