![]() copy the file in the /usr/share/phpmyadmin directory, and rename it to with the following command: sudo cp /usr/share/phpmyadmin/ /usr/share/phpmyadmin/ The file that you have extracted, has a sample configuration file that you can use as your base configuration file. Now you need to set www-data, the Linux user profiles that web servers like Apache use by default for normal operations in Ubuntu and Debian systems, as the owner of this directory with the following command: sudo chown -R www-data:www-data /var/lib/phpmyadmin Configure phpMyAdmin manually on Debian 11īecause you have installed phpMyAdmin from the source, you need to configure it manually.įirst, create a new directory where phpMyAdmin can store its temporary files in it with the following command: sudo mkdir -p /var/lib/phpmyadmin/tmp you need to make some configuration changes so that you can be able to access phpMyAdmin through a web browser. Here you installed phpMyAdmin on Debian 11. To do this run the following command: sudo mv phpMyAdmin- 5.1.1- all-languages/ /usr/share/phpmyadmin Then extract the file with the following command: tar xvf phpMyAdmin- 5.1.1- Īt this point, you need to move the phpMyAdmin- 5.1.1– all-languages directory and all its subdirectories to the /usr/share/ directory and rename the directory in place to just phpmyadmin. Now you can use the wget command with the link you have copied to download the tarball of phpMyAdmin: wget 5.1.1/phpMyAdmin- 5.1.1. ![]() remember to replace the links and file names in the following commands. If you want to use it in English, you can install the English package. Note: In this article, we will use the all-languages package to install phpMyAdmin. To do this, go to the phpMyAdmin Downloads page and search for the download link in the latest version, and copy the download link ending with tar.gz. Download phpMyAdmin on Debianīecause of this, you need to download the source code to your server from the phpMyAdmin site. PhpmyAdmin is not available in the Debian default repository. Install the PHP extensions with the following command: sudo apt install php-mbstring php-zip php-gd php-xml Update and upgrade the APT packages with the following command: sudo apt update & apt upgrade Install phpMyAdmin on Debian 11įirst of all, you need to install a few PHP extensions onto your server to enable certain functionalities and improve performance. When you are done with these requirements you can start to install phpMyAdmin on Debian 11. For this, you can check the How to Secure Apache with Let’s Encrypt on Debian 11.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |