PhpMyAdmin
ナビゲーションに移動
検索に移動
目次
phpMyAdmin
- $ sudo yum install php-mysqlnd
/etc/yum.repos.d/remi.repo に追記
- emi リポジトリからインストールする必要のないパッケージが上書きされないよう限定
- [remi]
- :
- includepkgs=phpMyAdmin php-phpmyadmin-sql-parser php-phpmyadmin-motranslator php-phpseclib php-google-recaptcha php-twig-extensions php-symfony-polyfill php-samyoul-u2f-php-server php-pragmarx-google2fa
- sudo yum-config-manager --enable remi
- sudo yum install phpMyAdmin
phpMyAdmin のインストールが依存関係で失敗する場合PHPのバージョン全体の入れ直し
- yum info installed php*
- yum remove php*
- yum install -y --enablerepo=remi-php74 php php-gd php-intl php-json php-mysqlnd php-mbstring
- yum install -y --enablerepo=remi-php74 phpMyAdmin
- 以下コメントアウト
MySQL
- ログイン
- # mysql -u root -p
- mysql> create user 'pma'@'localhost' identified by 'パスワード'
- mysql> source /usr/share/phpMyAdmin/sql/create_tables.sql
Localhost以外からでもアクセス可能にする
Httpd
- /etc/httpd/conf.d/phpMyAdmin.conf
- Reuire all granted
XAMPPの場合
Access to the requested directory is only available from the local network. This setting can be configured in the file "httpd-xampp.conf".
- $ sudo vi /opt/lampp/etc/extra/httpd-xampp.conf
- Require を local から all granted に変更
© 2006 矢木浩人