


you need to keep it in the /usr/share/phpmyadmin directory, and rename it : sudo cp /usr/share/phpmyadmin/ /usr/share/phpmyadmin/Ĭhoosing your favorite text editor, open the below file sudo nano /usr/share/phpmyadmin/īy default, phpMyAdmin uses the cookie authentication method and allows you to log in to phpMyAdmin as any valid MariaDB user. Then, make a copy of the file which you extracted to use it as your base configuration file. sudo chown -R www-data:www-data /var/lib/phpmyadmin

To set the Linux user profile type the below command. To make a new directory where phpMyAdmin will store its temporary files, run the following command. sudo mv phpMyAdmin- 4.9.0.1- all-languages/ /usr/share/phpmyadmin Configuring phpMyAdmin manually Then extract the tarball: tar xvf phpMyAdmin- 4.9.0.1- īy running the below command, move the the phpMyAdmin- 4.9.0.1-all-languages directory and all its subdirectories to the /usr/share/ directory. To download the tarball to your server, Replace the link in the following wget command with the download link and press ENTER. We use the all-language package in this tutorial, but you can install only the english package. Sudo apt install php-mbstring php-zip php-gd To pull down the files and install them on your system, use apt php-gd: another PHP module, this one enables support for the GD Graphics Libraryįirst, you need to update your server’s package index.php-zip: a PHP module that supports uploading.php-mbstring: a PHP extension used to manage non-ASCII strings and convert strings to different encodings.To explain more, we suggest you review it below. To enable certain functionalities and improve performance, you need to install a few PHP extensions onto your server and then begin to install and configure. Installing phpMyAdmin and recommended packages Executes and returns results for arbitrary SQL queriesĪs you see, you should not run phpMyAdmin on remote systems over a plain HTTP connection, because it is a widely-deployed PHP application and you may face frequently targeted for attack.Handles authentication using MariaDB credentials.Communicates directly with your MariaDB installation.To start the installation, you are forced to consider some important security tips like: phpMyAdmin is designed for managing MySQL databases, so you need to ensure that your installation of MariaDB will work correctly with phpMyAdmin. Installing phpMyAdmin and recommended packagesĪlthough the MariaDB is a community-developed fork of MySQL, they are closely related.
