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:35] – [Installation] Bernard Condrau | deb13:phpmyadmin [2026/09/26 10:42] (current) – [apache2 Configuration] Bernard Condrau | ||
|---|---|---|---|
| Line 34: | 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 44: | 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 102: | 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)]> | ||