Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [apache]

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

-3
votes
0answers
13 views

Should we use jms or Apache kafka? [closed]

I am using JMS in my application but now I wanted to use Apache Kafka. My application is very small and it is not required distributed system or any other big data use case. So , I am confused that ...
0
votes
0answers
28 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/...
2
votes
1answer
55 views

ports 80 and 443 suddenly closed on macos server

short story Ports 80 & 443 seems to be closed on my MacOS Server (checked with Network Utility) -- cannot access any website from both local network and internet. Have restarted the websites ...
0
votes
0answers
13 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
1answer
19 views

Account with parental controls enabled breaks proxy use

I have a MacBook Air running Mojave (10.14.2). My router is running a proxy using Squid that works fine on the Mac's administrator account and a user account. When the user account has Parental ...
0
votes
1answer
61 views

I can’t connect to localhost on Mac 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
0answers
132 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 ...
2
votes
1answer
156 views

remove homebrew apache2 fails

On a new Macbook Pro, I installed apache2 with homebrew, but now want to switch back to native apache2 server. I removed the homebrew package with: brew uninstall apache2 I also removed any ...
-1
votes
0answers
20 views

Synchronise PHP CLI and Apache versions

Apache reports PHP Version 7.1.19 via phpinfo(). CLI reports PHP 7.1.25 (cli) via php -v. I've tried editing httpd.conf to change LoadModule php7_module libexec/apache2/libphp7.so to LoadModule ...
0
votes
0answers
25 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 ...
2
votes
1answer
260 views

How to start homebrew Apache on boot?

I've switched out the default apache for the homebrew version. I've stopped the default apache starting on boot with: sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist ...
0
votes
1answer
289 views

Automator app stopped working after updating to macOS Mojave

Today I updated to Mojave because the notifications were killing me. A script I have in automator to launch apache server on startup stopped working after the update. This is all this automator app ...
0
votes
3answers
183 views

Give local PHP Full Disk Access in Mojave

I have a PHP webpage running on the local apache installation. The page uses shell_exec to access the messages/chat.db via sqlite3. shell_exec("sudo -u ben sqlite3 ~/Library/messages/chat.db \"...
1
vote
0answers
146 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
69 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
1answer
88 views

Questions from trouble getting the UniFi Controller to work on macOS High Sierra + Server (port 8080 in use)

After upgrading from Sierra+Server to High Sierra+Server I am running into the problem that port 8080 is occupied by default. This blocks the UniFi controller from launching. After the upgrade, I ...
6
votes
3answers
10k views

PHP not working after upgrading to OS Mojave

When i try to open localhost it gives me 403 error message like this "You don't have permission to access / on this server." I have tried changing the permission but nothing happens. It worked fine ...
1
vote
0answers
51 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 ...
3
votes
2answers
127 views

Server-side includes on an iMac

I have failed for a year to find a way to run SSI (server side includes) on my iMac using the apache web server included with server.app. I am wondering if the server app will allow server-side ...
1
vote
1answer
1k views

How to set up WebDAV (with wfsctl) on macOS High Sierra with Server 5.6.1?

After having upgraded to High Sierra with Server 5.6.1 I want to recreate the WebDAV shares I had. I've used wfsctl to create a share point. The share point has ACL for a specific user. So far so good ...
2
votes
1answer
43 views

Permissions on apache2 directory

I was working through these instructions to get my web server working again and needed to change the /etc/apache2/httpd.conf file. I needed to change the permission on httpd.conf file and did. Next I ...
3
votes
1answer
184 views

MAMP still can't access Apache after creating local virtual hosts

I had finally got my PHP and MySQL to work again and then I decided to set up local virtual host. Everything was working perfectly up to that point. I have been getting error messages when I do ...
0
votes
0answers
128 views

OSX - High Sierra setup proxy fails

Trying to setup a proxy service on my develop machine that points to example.com/php for development of a hybrid app based on ionic to avoid CORS problems. What I did: sudo vi /etc/apache/httpd.conf ...
2
votes
0answers
263 views

OSX Sierra, trouble with virtual hosts

I'm trying to create a separate virtual host on a Mac for a local project, which would not be http://localhost/ibb but, for example: http://ibb.local. For this I carefully followed the next ...
0
votes
1answer
154 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 ...
2
votes
1answer
21 views

Why did apache move config, and how do I move it back?

I just installed PHP 7, and suddenly localhost is no longer accessible. Investigating, apachectl determined that it changed from reading /etc/apache2/httpd.conf, to now be reading /usr/local/etc/...
1
vote
0answers
69 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 ...
2
votes
0answers
30 views

Restart Apache causes applications to react really weird

I have macOS High Sierra running on my Mac, and it has worked fine until now. But today I experienced something very weird. I was trying to restart Apache (a web development server), and then my apps ...
1
vote
1answer
350 views

How can I switch from mac server App to Apache?

I want to use Apache on macOS 10.13. I issued "sudo apachectl start" command then it enabled. I confirmed to display "It works" on the browser by http://localhost/ and I could know Apache worked ...
1
vote
0answers
42 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 ...
0
votes
1answer
1k views

localhost/phpmyadmin - 404 error on macOS High Sierra

I'm setting up a PHP project on my machine's loalhost. This part is working fine, and it's loading the index.php correctly when visiting http://localhost. However, visiting http://localhost/phpmyadmin ...
0
votes
0answers
333 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
1answer
48 views

Built-in Apache and Php is viable?

Does anybody has experience with using built-in Apache/PHP in a High Sierra? Does it have any drawbacks if compare to homebrew apache/php? I plan to use it with Laravel or GravCMS. Any thoughts?
0
votes
1answer
693 views

Solve /Users/myusername/Sites/foo ~/bar localhost/~myusername High Sierra Apache server connection Internal Server Error

Battle of VirtualHost /Users/myusername/Sites/foo ~/bar Internal Server Error goin on for days now tryin to attach localhost/~myusername to Apache/2.4.28 http server on macOS 10.13.3 High Sierra ...
1
vote
1answer
426 views

Current PHP version is 7.2.2 but localhost is running php56

I recently upgraded PHP through Homebrew. When using terminal command PHP -i I'm getting PHP Version => 7.2.2 as expected. However, when running phpinfo(); on localhost I get PHP Version 5.6.30 ...
0
votes
0answers
77 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
1answer
3k views

Apache not working on my Mac with Sierra

I've followed instruction on how to activate Apache on my Mac prior to upgrading to Sierra. I got the "It Works" page after entering localhost in the address field, yet after I upgraded to Sierra, I ...
2
votes
0answers
630 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 ...
0
votes
1answer
486 views

How to run httpd on macOS without Apache [closed]

I'm trying to build a BCHS application. I do have a remote server running OpenBSD, but the network latency is killing me, so I decided to develop on my MacBook Air and deploy to the OpenBSD server ...
0
votes
1answer
2k 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 ...
3
votes
5answers
4k 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
1k 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
356 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
465 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
100 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
81 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
711 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
506 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 ...
3
votes
1answer
7k 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: ...
9
votes
3answers
12k 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 ...