We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [apache]

The popular open-source Web server application, an implementation of which is included in macOS.

Filter by
Sorted by
Tagged with
0
votes
1answer
4k views

Problem with XAMPP after installation

I have just installed XAMPP and when I click "start all" nothing actually starts since there is a problem with the some configurations (I do not have any idea of what those lines mean since I am a ...
4
votes
5answers
6k views

XAMPP VM and text editors

I recently installed XAMPP for OS X (XAMPP VM PHP 7.2.1) which now virtualizes the entire box for obvious benefits of higher security. Although I admire the new concept and see its benefits, I cannot ...
3
votes
3answers
4k views

Conflict between internal Apache and Apache installed via Homebrew

I have faced following trouble. I wanted to have multiple versions of PHP so I used this article to achieve this. But I could not stop Apache via sudo apachectl -k stop when running this command I am ...
2
votes
1answer
493 views

Does FileMaker Server 16 prevent use of the system apache in macOS?

I'm running FileMaker Server 16 ("FMS") on macOS High Sierra, without the macOS Server package. I set the FMS web server components up on ports 8080 and 8443 because I wanted to continue running other ...
2
votes
0answers
612 views

Can't build mod_fcgid because apxs no longer shipped by Apple?

[Mac OS 10.13.2] I'm trying to setup the standard Apache version (2.4.28) that comes with Mac OS to run mod_fcgid but I can't find it anywhere, nor can I build it from source. I wish I had done this ...
2
votes
0answers
106 views

Before update to High Sierra httpd-vhosts.conf is empty

I just upgraded from Sierra to High Sierra. Apparently everything works fine. But when testing my works in local (Web developments in PHP, etc) I see that none works. Checking and looking for where ...
0
votes
1answer
92 views

Localhost to custom page

I am running macOS 10.12.5 and I am setting up a localhost and everything looks correct. I used brew to install Apache (httpd), MySQL, and PHP. I have changed the hosts file to point the localhost ...
1
vote
0answers
751 views

Localhost refuses to connect after upgrading to High Sierra OS

I did upgrade to latest High Sierra, moved all old *.conf files like httpd.conf~previous to be in use. Checking config works fine: sudo apachectl -t Syntax OK ping of 127.0.0.1 works as expected, ...
4
votes
2answers
963 views

Can I create an Automator application to start Tomcat when I need?

I can start Apache Tomcat (installed via HomeBrew) in Terminal using $ catalina run But it does not work in an Automator application Shell script using bash I tried to set up a bash Shell script ...
4
votes
1answer
8k views

After MacOS High Sierra install, localhost fails and apache has syntax errors

After upgrading to MacOS High Sierra, I haven't been able to access my localhost. I tried restarting Apache, but it still didn't work. So I did apachectl configtest and got this error message: ...
14
votes
5answers
17k views

Apache2 (Httpd) not working after update to High Sierra

I have an issue where Apache will not start after updating to High Sierra 10.13.1. There isn't anything showing in the error logs, but when I try to apachectl start nothing happens. If I run ...
-1
votes
1answer
3k views

Reinstall Apache?

I have completely borked my Apache installation on High Sierra. I had a wonderful local development environment running prior to the update, and when I upgraded to High Sierra I attempted to force it ...
2
votes
1answer
563 views

Apache won't start on reboot

I have an issue where Apache will not start on a restart. I have tried commands like sudo launchctl load -w /System/Library/LaunchDaemons/org.apache.httpd.plist to allow Apache to start, but it ...
0
votes
1answer
501 views

Apache not running correctly after upgrading to High Sierra

I have an apache web server running on my mac. Since upgrading to macOS High Sierra, if I connect to localhost or 10.0.0.7 in Safari (or any other web browser) I get the message "Safari can't open ...
4
votes
1answer
574 views

Changing Default Apache version on MacOS Sierra

A DHS sweep of the network showed that one of the researchers Macs is running a non-safe version of Apache (2.4.25) and they would like him to update to at least 2.4.27. He is having difficulty ...
8
votes
15answers
36k views

Apache not working with user Sites folder on macOS 10.13 High Sierra

I have followed this guide to set-up Apache on High Sierra: https://coolestguidesontheplanet.com/get-apache-mysql-php-and-phpmyadmin-working-on-macos-sierra/ I used it to set it up on Sierra. But ...
0
votes
1answer
8k views

Unable to access xampp files because of user permissions problem

I've installed xampp on my MacBook with macOS 10.12, Sierra. Everything works fine, but I created php app with slim framework witch creates cache files. The problem is that I have no permissions to ...
1
vote
0answers
357 views

Apache errors on macOS Sierra

After spending many hours (no joke) following several "How to install Apache on Sierra" and reading and trying countless questions and answers I've found on the web, Apache still doesn't work. Trying ...
1
vote
1answer
258 views

Deleted the files in /private/etc/apache2/other/

I deleted files in /private/etc/apache2/other/ by mistake. Then I tried to copy files from /private/etc/apache2/original/extra to /private/etc/apache2/other/ to recover my httpd, but it failed. Now ...
11
votes
4answers
51k views

How to remove preinstalled Apache and PHP from Mac OS Sierra

I have been trying to figure out how to completely remove preinstalled Apache and PHP from my macbook pro ... The reason is that I am using the homebrew version of both Apache and PHP. The current ...
1
vote
1answer
1k views

Configuring XAMPP on macOS Sierra (version 10.12.6)

On a fresh installation of macOS, I decided to use XAMPP (I have previously used MAMP (free ver.)) but I have encountered some simple issues. The general tab shows IP address 192.168.64.2 but my ...
0
votes
1answer
3k views

How to set up “localhost” document root as Mac's “Sites” folder with MAMP PRO 4?

The default MAMP's localhost document root is /Applications/MAMP/htdocs and I want to point it on my /Users/Me/Sites/ folder. I can do easily with MAMP PRO GUI but it's not working after I restarted ...
0
votes
1answer
25 views

cant use a defined vhost on xampp

i'm having some trouble configuring my localhost with xampp. I installed de xampp, removed the # to include httpd-vhosts and then, i set a vhost, like this: <VirtualHost *:80> DocumentRoot "/...
0
votes
1answer
375 views

Sierra - Apache localhost user level and phpMyAdmin

I've installed the AMP stack (Apache, MySQL, PHP) and phpMyAdmin on my system. I set up user level root too (localhost/~user) and it worked. The things that make me still confused are: Why is it ...
1
vote
1answer
1k views

Apache keeps saying: You configured HTTP(80) on the standard HTTPS(443) port!

I have configured an SSL web site using the macOS Server app (version 5.3). When I examine the Apache log, I see this message (twice): [ssl:warn] [pid 4120] AH01916: Init: (mydomain.net:443) You ...
5
votes
5answers
21k views

Apache on MacOS Sierra: AH00557: httpd: apr_sockaddr_info_get() failed for Macbook-Pro.local AH00558: httpd: Could not reliably determine…

I updated MacOS Sierra's Apache and PHP, and now whenever I $ sudo apachectl restart I get this: AH00557: httpd: apr_sockaddr_info_get() failed for My-MacBook-Pro.local AH00558: httpd: Could not ...
3
votes
0answers
567 views

MAMP very slow to serve pages using Virtual Hosts on OSX Sierra

I am running MAMP 4.1.1 on my mac mini with OSX Sierra (10.12.3). lately when I try to load pages for a site using a virtual host, it is VERY slow to load. if i load pages without a virtual host ...
0
votes
1answer
2k views

How to complete remove all links to default PHP version?

Running macOS Sierra. How can I complete remove all links to the default installed PHP version? I have installed PHP 7 through homebrew but when I run scripts that call external CLI applications ...
3
votes
1answer
2k views

macOS apache installs on different directory with homebrew, how to start/stop?

Im strugling to understand different installations of apache on macOS. As i now can say i have two installations of apache2 one in /private/etc/apache2 ->this one seams to be installed by default with ...
0
votes
1answer
562 views

Trying to turn on localhost on Sierra made my Mac unable to connect to internet

Background I recently upgraded to macOS Sierra, but couldn't see the typical "it works" page on the local host. I followed some instructions online, first I did the following to my httpd.conf file: ...
0
votes
3answers
2k views

macOS Server http(s) ports bound

I've got a Mac mini 2014 (running macOS Sierra 10.12.2) with the Server.app installed. I was planning on hosting a webserver on this device on the default http(s) ports. However, I've found that one ...
0
votes
1answer
69 views

Unable to access 10.2.3 16D17a machine over network

I was in the midst of attempting to setup the built in apache webserver to do some light network file sharing to my iOS device that I didn't wish to sync, discovered that I can only access network ...
1
vote
2answers
5k views

Localhost Not Working After MacOS Sierra Upgrade

I've tried other solutions I've found on StackExchange for this same problem, but must have a unique situation that is still causing problems. I have a hosts file setup as follows: 127.0.0.1 ...
1
vote
1answer
5k views

localhost is always responding with “Connection refused: localhost:80”

I've been working with the integrated webserver of OS X El Capitan for a while now. I am developing a website project and thus, this was the perfect solution for me. I was starting the local server ...
2
votes
0answers
2k views

Apache localhost doesn't work: Safari can't connect to the server localhost

I have upgraded to El Capitan a few months ago. I have followed a few guides to install and setup AMP: Get Apache, MySQL, PHP and phpMyAdmin working on OSX 10.11 El Capitan But I can't access my /...
0
votes
1answer
232 views

How do I make my iMac Apache server always run?

I have a password protected Apache server running on my iMac (OS X Sierra 10.12.1) at home for personal purposes. It is accessible by the internet so that I can access my home files when I am outside ...
1
vote
1answer
786 views

Updating OpenSSL in OSX

I am using 10.9 with Server app 3, and right now i am using an obsolete connection with TLS 1.0, RSA and AES_128CBC with HMAC-SHA1 (that cames by default). While i was trying to upgrade openssl, i ...
2
votes
1answer
777 views

macOS Sierra: Configuring Subversion/SVN on Apache

Every Mac OSX/macOS update brings further challenges to get svn working after the update. Sierra's the latest. I have a subversion repo in ~/svnRepo I run some windows development stuff in a VM ...
1
vote
2answers
8k views

How to set up Document Root as “Sites” folder in Apache on macOS Sierra?

I have an index.html in my /Users/igor/Sites/MySite folder (igor is my username on Mac). Links (for example: <a href="/page">Page</a>) all go to localhost/page instead of http://localhost/~...
8
votes
5answers
42k views

Localhost refuses to connect after upgrading to Sierra OS

I have downloaded and installed apache, php, phpmyadmin, mysql via macports. Everything was working fine before upgrading to macOS Sierra. After the upgrade whenever I try to access localhost I get ...
3
votes
3answers
16k views

macOS Sierra - localhost stops working when virtual host is enabled

I have enabled virtual hosts on my Mac running macOS Sierra. What I did, Uncommented Virtual Host line in httpd.conf Added a virtual host entry from my site in /etc/apache2/extra/httpd-vhosts.conf ...
1
vote
0answers
829 views

Unable to connect to localhost on my development machine

I'm configuring a new Web development machine using the very complete and well-written guide published by Echo Software but I cannot connect to localhost after following/checking every step. My only ...
0
votes
1answer
424 views

Unnable to start new WebApp with webappctl on OSX Server

Question Is there anything else needed other than creation of "mywebapp.plist" in the "/Library/Server/Web/Config/apache2/webapps" and starting it with "sudo webappctl start" command in order to ...
5
votes
2answers
8k views

Cannot ping localhost: “unknown host” on Mac OS X El Captain

I am trying to resolve localhost which right now is "not found" if I ping localhost - I am getting ping: cannot resolve localhost: Unknown host I have made sure that the /etc/hosts file has the ...
0
votes
1answer
801 views

Host a site on a Mac [closed]

I have my website locally on my Mac ready to host. It is accessible locally via http://localhost running on MAMP. Let’s say my static public IP from my ISP is : 201.23.45.23 and I’ve already ...
1
vote
1answer
579 views

PHP MAMP user not finding /usr/local/bin

I have a website in a shared Linux hosting that uses Ghostscript. I use by php exec function that executes command line functions, gs commands to render PDF files, by simple gs commands. gs -h (will ...
-11
votes
1answer
149 views

Have a mac acccess apache through localhost on a windows environment [closed]

Some people on my network use Mac so I have to configure my local server for them to access it. I installed Apache on my Windows Vista PC and you can access it from any other WINDOWS computer on the ...
1
vote
2answers
432 views

El Capitan Server using SSL on Apache - AH01276: Cannot serve directory

El Capitan 10.11.4 Server I've been accessing a php site I'm developing at http://localhost/myproject/web/ But after I turn on SSL for that route I get a 403 You don't have permission to access /...
1
vote
1answer
6k views

Can any one upload their httpd.conf file for mac?

I was testing virtual hosting and doing a lot of stuff. Then I suddenly delete my httpd.conf file using rm command. I've deleted httpd.conf.bak and original/httpd.conf. Well now I'm guessing i don't ...
0
votes
1answer
64 views

Serve Application from my Mac over LAN

I am trying to serve an application I'm developing over the LAN at work. I'm doing this using Apache and this is working fine locally, but when I try to access from another client on the network the ...