サーラリマンは働き過ぎ、社畜化に注意しよう!!

debian 10 nginx phpmyadmin install

debian
スポンサーリンク

apt-get install wget php php-cgi php7.3-mysqli php-pear php-mbstring php-gettext libapache2-mod-php php-common php-phpseclib

wget https://files.phpmyadmin.net/phpMyAdmin/4.9.5/phpMyAdmin-4.9.5-all-languages.zip

unzip phpMyAdmin-4.9.5-all-languages.zip

mv phpMyAdmin-4.9.5-all-languages /var/www/wordpress/phpmyadmin

mkdir -p /var/lib/phpmyadmin/tmp

chown -R www-data:www-data /var/lib/phpmyadmin

mkdir /etc/phpmyadmin/

cp /var/www/wordpress/phpmyadmin/config.sample.inc.php /var/www/wordpress/phpmyadmin/config.inc.php

vi /var/www/wordpress/phpmyadmin/config.inc.php

* This is needed for cookie based authentication to encrypt password in
* cookie. Needs to be 32 chars long.
*/
$cfg[‘blowfish_secret’] = ‘******************‘; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
$cfg[‘TempDir’] = ‘/var/lib/phpmyadmin/tmp’;

/**
* Servers configuration
*/

コメント