![]() If you are see an error “The secret passphrase in configuration (blowfish_secret) is too short. on PHPMyAdmin.Ĭreate a tmp Directory in PHPMyAdmin mkdir /usr/share/phpmyadmin/tmpĪnd then add permission to that created directory chmod 755 -R /usr/share/phpmyadmin/tmp If you encounter an error The $cfg 'TempDir' is not accessible. http: //IP_SERVER/phpmyadmin Code language: JavaScript ( javascript ) Hoorey! Now it’s time to test PHPMyAdmin by typing following URL. Test the configuration and restart the server. 4-fpm.sock įastcgi_param DOCUMENT_ROOT $realpath_root įastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name nano /etc/nginx/sites-available/ default Code language: JavaScript ( javascript )Īdd the following lines of code to the server block index index.php index.html index.htm įastcgi_pass unix:/run/php/php7. ![]() Open the NGINX configuration file by entering the following command. Ln -s /usr/share/phpmyadmin / var/www/htmlĬode language: JavaScript ( javascript ) Configure NGINX cd /usr/share wget 2. NET Core in Ubuntu 18.04 Music no 8 Install MySql Server: Install PHP. To install the latest version of phpMyAdmin visit the phpMyAdmin page wget -c https: ///phpMyAdmin/5.0.2/phpMyAdmin-5.0. tar xzvf phpMyAdmin -5.0. 1.) Let’s Download phpMyAdmin First of all please directly download the latest stable release of phpMyAdmin using wget command. How To Install Nginx, MySQL, PHP, PhpMyAdmin. Install PHPMyAdmin 5.0.2 as shown below by extracting it to the /usr/share/phpmyadmin directory. Once the key is imported add the apt repository URL sudo add-apt-repository 'deb bionic main' Code language: JavaScript ( javascript )Īfter that Install the MariaDB Server on ubuntu by following commands. Visit MariaDB website to obtain the gpg key sudo apt-key adv -fetch-keys '' Code language: JavaScript ( javascript ) Import MariaDB gpg key by running the command below to add it to your system. Run the following command to check the status of php 7.4 systemctl status php7. Sudo apt install php7.4-fpm php7.4-common php7.4-dom php7.4-intl php7.4-mysql php7.4-xml php7.4-xmlrpc php7.4-curl php7.4-gd php7.4-imagick php7.4-cli php7.4-dev php7.4-imap php7.4-mbstring php7.4-soap php7.4-zip php7.4-bcmath -y sudo apt install software-properties-common -y Install PHP 7.4 and all the important plugins and check the server status. ![]() http: //IP_SERVER Code language: JavaScript ( javascript ) Installing PHP and MariaDB Step 1: Install phpMyAdmin Ubuntu maintains a central repository for most packages and we can install phpMyAdmin using the command below: sudo apt-get install phpmyadmin Once you are prompted to confirm the installation, press Y and then Enter. Check your Server by navigating into your IP ADDRESS as shown below. The “-y” in the end automatically enters “yes” when the command “sudo apt install nginx -y” ask for your confirmation before installing. Now let’s install NGINX and check whether it’s running or not. Update via the command lineīefore beginning the whole set up process make sure you’re at the command line and type the following commands. This tutorial is created to set up Nginx and PHPMyAdmin along with PHP 7.4 on ubuntu 18.04 with simple and easy steps.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |