This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| deb13:phpmyadmin [2026/09/26 10:32] – [Configuration] Bernard Condrau | deb13:phpmyadmin [2026/09/26 10:42] (current) – [apache2 Configuration] Bernard Condrau | ||
|---|---|---|---|
| Line 27: | Line 27: | ||
| sudo mv phpMyAdmin-*-english phpmyadmin | sudo mv phpMyAdmin-*-english phpmyadmin | ||
| </ | </ | ||
| - | - Create the configuration file from the sample template and generate a secure blowfish secret for cookie encryption:< | ||
| - | - Generate a 32-character random string using OpenSSL:< | ||
| - | - Open ''/ | ||
| - Create the temporary folder required by phpMyAdmin and assign proper web server ownership:< | - Create the temporary folder required by phpMyAdmin and assign proper web server ownership:< | ||
| $ sudo chown -R www-data: | $ sudo chown -R www-data: | ||
| Line 37: | Line 34: | ||
| ===== phpMyAdmin Configuration ===== | ===== phpMyAdmin Configuration ===== | ||
| - | - Make a new directory | + | - Create the configuration file from the sample template and generate |
| - | - Copy '' | + | - Generate a 32-character random string using OpenSSL:< |
| - | - Use the [[https:// | + | - Open '' |
| - | $cfg[' | + | - Add custom settings:< |
| - | - Add the following | + | |
| $cfg[' | $cfg[' | ||
| $cfg[' | $cfg[' | ||
| Line 47: | Line 43: | ||
| $cfg[' | $cfg[' | ||
| $cfg[' | $cfg[' | ||
| - | | + | |
| - | - Leave the commented out settings in '' | + | - Leave the commented out settings in '' |
| ===== apache2 Configuration ===== | ===== apache2 Configuration ===== | ||
| - | - Create ''/ | + | - Create ''/ |
| Alias /phpmyadmin / | Alias /phpmyadmin / | ||
| Line 105: | Line 101: | ||
| </ | </ | ||
| </ | </ | ||
| - | - You can replace | + | - Enable |
| - | - Symlink the configuration file for Apache | + | $ sudo apachectl configtest |
| - | $ sudo service apache2 | + | $ sudo systemctl |
| - | - Create a regular MariaDB user for the purpose of managing databases through phpMyAdmin, if you haven' | + | - Create a regular MariaDB user for the purpose of managing databases through phpMyAdmin, if you haven' |
| MariaDB [(none)]> | MariaDB [(none)]> | ||
| MariaDB [(none)]> | MariaDB [(none)]> | ||