macでhttp://localhost/phpMyAdmin/を表示させたいのですが、ページを開けませんとなってしまします。
apacheは起動しているのですがlocalhost自体接続できません
https://qiita.com/haneri/items/7110ce24e74f9566de8bを見て
httpd.confの設定とhttpd-vhosts.confの設定をしました。
よろしければご教授お願いいたします。
追記
記事を見て変更した箇所
httpd.conf
#LoadModule include_module libexec/apache2/mod_include.so #LoadModule vhost_alias_module libexec/apache2/mod_vhost_alias.so #LoadModule userdir_module libexec/apache2/mod_userdir.so #LoadModule rewrite_module libexec/apache2/mod_rewrite.so #LoadModule php5_module libexec/apache2/libphp5.so ```のコメントアウトを外す
AllowOverride none
Require all denied
↓
AllowOverride all
Require all granted
Options FollowSymLinks Multiviews
↓
Options FollowSymLinks Multiviews Indexes Includes
#AddType text/html .shtml
#AddOutputFilter INCLUDES .shtml
↓
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml .html
#Include /private/etc/apache2/extra/httpd-userdir.conf
#Include /private/etc/apache2/extra/httpd-vhosts.conf
↓
Include /private/etc/apache2/extra/httpd-userdir.conf
Include /private/etc/apache2/extra/httpd-vhosts.conf
httpd-userdirの設定
<VirtualHost *:80>
DocumentRoot "/Users/laz/Sites/index.html"
ServerName {yourservername}
<Directory "/Users/laz/Sites/index.html">
Require all granted
DirectoryIndex index.html
Options Includes
</Directory>
</VirtualHost>
ホームにSitesというディレクトリを作成して以下の内容でlaz.confを作成(lazは私のユーザーネームです)
<Directory "/Users/laz/Sites">
AddType text/html .shtml .html
AddHandler server-parsed .shtml .html
Options Indexes MultiViews FollowSymlinks Includes
AllowOverride all
Require all granted
</Directory>
php,mysqlに関しては```brew install```を使用しました。 バージョンは php:7.1.23 mysql:8.0.12 phpMyAdminは[https://www.phpmyadmin.net](https://www.phpmyadmin.net)より最新の4.8.5をダウンロードしました。 mysqlはターミナルからの接続はできました。