Questions tagged [apache]

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

45 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
553 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 ...
3
votes
0answers
2k views

Disable Apache on El Capitan 10.11.4

How do I disable Apache running because I can't get it down since I cannot run this sudo apachectl stop. It will give me this /System/Library/LaunchDaemons/org.apache.httpd.plist: Could not find ...
3
votes
0answers
2k views

How can I delay loading of a launchd Launch Daemon on boot?

I am running OS X Server 10.7.5 on a Mac Mini and I cannot get MacPorts’ Apache2 to start on boot. I have ensured that the Apple-supplied version of Apache is not launching and I have also ensured ...
2
votes
0answers
27 views

Why is brew always reporting success when failing to start a service?

I'm trying to setup httpd with HomeBrew on a mac. As I painfully learned today, brew services start always reports success, even when httpd fails to start. Example failures reported as success: ...
2
votes
0answers
750 views

Captive portal on MacOS

I want to implement a basic captive portal. For the test setup, I have a mac mini connect to wifi (192.168.1.1) and ubuntu laptop connected to it via lan. What I am trying to achieve is for the the ...
2
votes
0answers
589 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
104 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 ...
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 /...
2
votes
0answers
230 views

Installing a different version of Apache and PHP

I have OS X Yosemite, it comes with default Apache 2 and PHP versions. I want to set up a development environment with older version of Apache (2.2) and PHP (5.3). I have a product set up running on ...
2
votes
1answer
917 views

What permissions to host website for OS X Server?

I am trying to install Dropplet on my Mavericks Server. I have created the site in Server and copied the files to the root directory. When I go to configure it, I get the following error, "It seems ...
1
vote
0answers
219 views

Does the Mojave update wipe the previous Apache settings?

I just updated to Mojave over the weekend and today none of my local Apache addresses work, neither localhost, nor custom domains. I can't find any reference to my previous custom domains in the /...
1
vote
0answers
92 views

insane apache permissions problem

I have 3 macs: a Mac Mini, a MacBook Air, and a MacBook Pro. I have some directories mirrored on all 3 Macs via syncthing (which is awesome). The MacBook Pro is at home; the other two are at my ...
1
vote
0answers
73 views

Permissions keep changing on Desktop

I am running a Apache2 on my MBP on macOS 10.13.6. I setup everything well, and it works when going to localhost/~user. In my ~/Sites folder, I have a symbolic link to a folder on my Desktop with my ...
1
vote
0answers
71 views

Can /etc/apache2 directory on Sierra work on High-Sierra?

My question is related to the following: "Apache not working with user Sites folder on macOS 10.13 High Sierra" I installed High-Sierra over Sierra, and all my localhost/~username/pages were ...
1
vote
0answers
66 views

How to access masOS apache localhost from other devices on lan?

I have MBP with masOS Sierra. I’ve configured Apache server and mysql. I’m not using xampp or some other tool. I want to access my localhost on my iPhone. I’ve tried many different ways mostly ...
1
vote
0answers
741 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, ...
1
vote
0answers
343 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
0answers
813 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 ...
1
vote
0answers
521 views

Apache/PHP can't resolve localhost

After upgrading to Yosemite, I'm having an issue with Apache and PHP running locally. PHP can't find my local database server using localhost but it can if I specify 127.0.0.1 or test.dev (which ...
1
vote
0answers
162 views

Can Apache 2.2.24 from MacPorts 2.1.3 run stably on Server 10.6.8 Build 10K549 with symlinked targets?

Mac OS X Server 10.6.8 Build 10K549 running Apache 2.2.24 via MacPorts 2.1.3. Native Mac OS X Server http server disabled. The error message I'm getting in the log is as follows: [Tue Aug 13 11:21:...
1
vote
0answers
178 views

Mac 10.7.3 Web Sharing Won't Start

When I turn it on it says "starting" for a split second and then turns back off. I reinstalled Lion and it still happens. Trying to start it from the command line: cade:~> sudo launchctl load -w /...
1
vote
0answers
816 views

How do I switch which instance of php is used on my Mac?

I have three installed versions of php on my Mac. When I check using phpinfo() via a web browser, the one that is being invoked is version 5.3.15. I would like to switch it to the installed instance ...
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 ...
1
vote
1answer
1k views

Uninstalling all instances of apache, php and mysql

So When I first got my mac mini, I installed things like apache, mysql and php - not knowing that apple either came with these or had a tool called mamp that would allow you to run these. I thought ...
0
votes
0answers
15 views

Apache2 not running on High Sierra without Homebrew

This is a post I have found on this issue: Apache2 (Httpd) not working after update to High Sierra But I have a situation where httpd is not running after setting preference -> sharing ->web sharing ...
0
votes
0answers
47 views

Cannot access mysql from Perl with SIP enabled on Mac Mojave

I'm using a Mac running Mojave as a dev server. I got Perl talking to MySQL but if I enable SIP, anything that accesses the database chokes. Simply disabling SIP fixes it. I have no idea what this ...
0
votes
0answers
12 views

403 Forbidden on my default *AMP setup in MacOS Mojave

I am using the default Apache + PHP 7.1 on Mojave : (no brew) Server version: Apache/2.4.34 (Unix) Server built: Feb 22 2019 20:20:11 I researched Apache Localhost 403 Forbidden with macOS Sierra, ...
0
votes
0answers
14 views

How to fix built-in Apache webserver read/write permission properly

There are hundreds of questions about it, but I'm still stuck with this problem and looking for a proper solution. The newest solution (mine) fix just the reading issues, it doesn't solve the writing ...
0
votes
0answers
47 views

httpd-wrapper failing, just httpd fine

Apache is working fine if I start it with /usr/sbin/httpd -k start But If I use the apachectl start command it fails, as does the plist file. It’s only started doing this just since the last couple ...
0
votes
0answers
89 views

Apache Netbeans 10 binaries not working

I have recently downloaded the Apache Netbeans 10 binaries from the Apache Netbeans (Incubating) site. I extracted the zip file to /Application/netbeans/. But when I try to run /Application/netbeans/...
0
votes
0answers
18 views

Firewall off by default, and when I turn it on it doesn't block connections

Yesterday, I had to get a PHP app running locally on my brand new, plain-vanilla Mac Mini. I was disturbed (to put it mildly) to discover that Apache was already installed, and running, and serving ...
0
votes
0answers
725 views

PHP and Apache not working after upgrading to Mojave

I have a very similar question as this PHP not working after upgrading to OS Mojave so it's not a duplicate as I get a different error I had Apache and PHP working absolutely fine running on High ...
0
votes
0answers
122 views

Enable PHP on macOS Server 5.6

In the most recent update to macOS Server 5.6, Apple had removed quite a number of services from the Server application in favor of built-in services in the system itself. However, now that the ...
0
votes
0answers
358 views

Set up a iMac dev with localhost - Issue Forbidden

just got new iMac 27 5k :) Setting up PHP environment but having trouble. I am getting Forbidden message when trying to access http://localhost or http://loalhost/phpmyadmin/ Here are some ...
0
votes
0answers
85 views

apachectl does not automatically create /var/run/mod_fcgid

[MacBook Pro 2014, Mac OS 10.13.3] I have my apache install setup to use mod_fcgid. However, when I restart my Mac, or after it restarts from sleeping, /usr/sbin/apachectl does not create /var/run/...
0
votes
0answers
1k views

Local dokuwiki installation not working after El Capitan upgrade

following the El Cap upgrade my local DokuWiki installation responded with a 404. http://localhost/~username wasn't working either, but through some changes to the Apache conf I got at least this ...
0
votes
0answers
587 views

Compare Apache Settings on Different Machines?

Is there a way to easily compare the Apache settings for two machines? I have a MacBook Air and an iMac, both running 10.9.1. On both machines, I am trying to run a site via localhost. ~/Sites/foo....
0
votes
0answers
743 views

Apache not running on my machine on OS X 10.7.5

After doing tail -20 /var/log/apache2/error_log: [Fri Sep 13 03:14:30 2013] [error] [client ::1] client denied by server configuration: /Library/WebServer/Documents/ [Fri Sep 13 03:17:00 2013] [error]...
0
votes
0answers
196 views

Web Sharing not getting enabled in MAC OSX10.7.4

I have tried enabling Web Sharing in MAC OSX 10.7.4, but after clicking to check it uncheck it self. I know there's a similar question for it, that is, Web Sharing (Apache) won't turn on in Lion. ...
0
votes
0answers
330 views

Editing $PATH variable for apache on mountain lion

I've just installed ImageMagick using macports and am trying to use it from a php site running on Apache, but nothing I do works to add /opt/local/bin:/opt/local/sbin to my path. So far I've tried ...
0
votes
0answers
2k views

How can I ask Mountain Lion to have apache2 recognize .cgi and execute it as a CGI script?

I've upgraded from Lion to Mountain Lion, and have noticed as a result of the upgrade, besides my screen saver saying it won't work on this version of OSX, Apache is displaying the private web ...
0
votes
0answers
1k views

Web Sharing won't start after I enable vhosts

This is the first time I've ever used apache, so there's a pretty good chance I'm doing something horribly wrong. I followed some instructions online to edit /private/etc/apache2/httpd.conf make my ...
0
votes
0answers
224 views

Apache starts even if web sharing is disabled

I do web development so I normally have web sharing turned on in the sharing preferences. After upgrading to Lion I have been continuing with the web development projects I have pretty much as ...
0
votes
1answer
2k views

403 forbidden on Apache vHost

I'm using Mac OS X 10.6.8 and I'm trying to configure a vHost. I configured it and it gave me a 403 Forbidden, and I'm having trouble giving _www permission to read/write in ~/Document/workspace/dev ...
-1
votes
1answer
171 views

How to remove “_www” user from the everyone group?

As the question said: How do I remove the _www user form the everyone group? Background: I am trying to lock down PHP to my web directory. PHP runs under the _www user. My solution is to only give ...