[CentOS7][H2O]phpMyAdminインストールと設定

LINEで送る
Pocket

# yum install --enablerepo=remi,remi-php74 phpMyAdmin

# cat /etc/h2o/conf.d/hoge.jp.conf
---
~省略~
    "/phpadmin":
      file.dir: /usr/share/phpMyAdmin/
      redirect:
        url: /index.php/
        internal: YES
        status: 307
---

# systemctl restart h2o
# chown -R nobody:nobody /usr/share/phpMyAdmin/
# chown -R nobody:nobody /var/lib/php/session/
# chown -R nobody:nobody  /var/lib/phpMyAdmin/temp
# chown -R nobody:nobody /etc/phpMyAdmin/

Was this helpful?

0 / 0

コメントを残す 0

Your email address will not be published. Required fields are marked *