Daemonzzu

Q: How to set  a (local) web server in OS X Capitan

How to set a local web server in OS X Capitan?

I followed the following tutorials:

https://coolestguidesontheplanet.com/get-apache-mysql-php-and-phpmyadmin-working -on-osx-10-11-el-capitan/

https://www.maketecheasier.com/setup-local-web-server-all-platforms/

But I cannot get the "It works!" page. Instead, I got localhost refused to connect.

When I run "apachectl configtest" to test my apache, I got these:

 

AH00112: Warning: DocumentRoot [/usr/docs/dummy-host.example.com] does not exist

AH00112: Warning: DocumentRoot [/usr/docs/dummy-host2.example.com] does not exist

AH00526: Syntax error on line 52 of /private/etc/apache2/extra/httpd-ssl.conf:

Invalid command 'SSLCipherSuite', perhaps misspelled or defined by a module not included in the server configuration.


So does anyone face these problems and could you help me with this mess?

MacBook Pro, OS X El Capitan (10.11.6)

Posted on Sep 1, 2016 6:51 PM

Close

Q: How to set  a (local) web server in OS X Capitan

  • All replies
  • Helpful answers