$ sudo ln -s /usr/share/phpmyadmin/ /var/www We are almost done here, just run this simple command to create a symlink in /var/www/ to the PHPMyAdmin folder in /usr/share/. $ sudo apt install phpmyadminĭuring installation, it will show you the below dialog, choose NO. To install it on Ubuntu 20.04, run the below command. PhpMyAdmin is a powerful web interface to manage databases online, almost every system admin use it because it is very easy to manage databases using it. Secure MariaDB Installation Installing PhpMyAdmin in Ubuntu Thereafter, answer Y for every subsequent prompt. The script will be prompted to enter the root password or set it up. Once installed, you can run the security script to secure the MariaDB installation as shown. $ sudo add-apt-repository 'deb focal main' $ sudo apt-get install software-properties-common MariaDB is a fork from MySQL, it is also a good database server to use with Lighttpd, to install it on Ubuntu 20.04 run these series of commands in the terminal. Check PHP Info in Ubuntu Step 3: Installing MariaDB in Ubuntu You will see this page which means that PHP is installed successfully. Now go to your domain or IP address and call test.php file, like. Press ESC key, and write :x and press Enter key to save the file. Press the “ i” button to start editing, and add the following line to it. Now to test if PHP is working or not, let’s create a ‘ test.php‘ file in /var/$ sudo vi /var/www/html/test.php $ sudo lighty-enable-mod fastcgiĪfter enabling modules, reload the Lighttpd server configuration by running the below command. Now to enable the PHP module, run the following commands in the terminal. Additionally, you also need to install the ‘ php-mysql‘ package to enable MySQL support. Lighttpd web server won’t be usable without PHP FastCGI support.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |