Usually, the Apache root document folder will be /var/www/html/ or /var/www/ in most Debian based Linux distributions. After installing PHP, create info.php file in the Apache root document folder. ![]() In this post, we will show you how to install and secure PhpMyAdmin on Ubuntu 20.04.Ī root password is set up on your server.īefore starting, the MariaDB database server must be installed in your server. To install PHP, run: sudo apt install php libapache2-mod-php php-mysql. PhpMyAdmin allows you to perform several database operations including, create, copy, rename, alter and drop databases, perform table maintenance, add, edit and drop fields, browse through databases and tables, export data to SQL, CSV, XML, Word, Excel, PDF and LaTeX formats, manage MySQL users and privileges, execute any SQL-statement and many more. It is designed for those who can not interact with MySQL through a command-line interface. It is written in PHP and supports 72+ languages. Your Apache web folder files are in the /var/www/folder. sudo apt install php libapache2-mod-php php-mysql. sudo apt install mysql-server php7. sudo apt install apache2 libapache2-mod-php7.4 MYSQL. Our admins will install phpMyAdmin (and even PHP if it isn’t already installed) on Ubuntu 20.04 for you immediately. sudo apt install -y php7.4 sudo apt install php7.4-curl php7.4-gd php7.4-json php7.4-mbstring php7.4-xml APACHE. After PHP has been installed, restart Apache using the following command: sudo service apache2 restart Step 9 - Installing phpMyAdmin. ![]() PhpMyAdmin is a free, open-source, web-based tool for managing MySQL and MariaDB databases. By default, PHP version php7.4 is available on Ubuntu 20.04 repository to install, thus we go with that along with some other packages, so that our PHP can easily communicate with Apache server and MySQL database. Also make sure youre using the latest verion of PHP. The latest available version of PHP (7.4.3 as of May, 2020) will be installed.
0 Comments
Leave a Reply. |