タイトル通りですが、apacheが起動しているのに、起動していません。
下記が現在の状況です。
■■■■iMac:~ root# httpd -v Server version: Apache/2.4.33 (Unix) Server built: Apr 3 2018 23:45:11 ■■■■iMac:/ ■■■■$ which httpd /usr/sbin/httpd ■■■■iMac:/ ■■■■$ which apachectl /usr/sbin/apachectl
macOS HighSierra 10.13.6
■■■■iMac:/ ■■■■$ lsof -i -P | grep "LISTEN" ^C ■■■■iMac:/ ■■■■$ sudo lsof -i -P | grep "LISTEN" ^C
portscanコマンドの送信を開始しました… Port Scanning host: 127.0.0.1 Open TCP Port: 88 kerberos Open TCP Port: 445 microsoft-ds Open TCP Port: 631 ipp Open TCP Port: 3306 mysql Open TCP Port: 49157 portscanコマンドの送信を完了しました…
■■■■iMac:~ root# sudo apachectl start /System/Library/LaunchDaemons/org.apache.httpd.plist: service already loaded
/usr/sbin/httpd /usr/share/httpd /Library/WebServer/share/httpd この3つはどれもOS標準添付Apacheのファイルです。1つ目が実行ファイル、2つ目が実行時に使われるデータファイル、3つ目がマニュアルです。
# Listen: Allows you to bind Apache to specific IP addresses and/or # ports, instead of the default. See also the <VirtualHost> # directive. # # Change this to Listen on specific IP addresses as shown below to # prevent Apache from glomming onto all bound IP addresses. # #Listen 12.34.56.78:80 Listen 80
MAMP設定 Apache Port:80 Nginx Port:8080 MySQL Port:3306 web server:Apache
他に必要な情報があれば提示します。
ポート番号が競合しているのでしょうか。標準で入ってるapacheとmampのapacheが競合しているのでしょうか。何が原因だと考えられますか。
お手すきの際で結構ですので、ご回答頂けると幸いです。
宜しくお願いします。

回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。