How can I sove this problem with the phpmyadmin? Please help me as fast as you can. But after the upgradation of Apache and PHP the phpmyadmin is not showing up. Then is used these ppa and firstly upgraded the phpmyadmin then MySQL server then Apache and then PHP.Īfter upgradation of phpmyadmin and mysql server the whole LAMP server runs well with the updated mysql server and phpmyadmin. Then I searched in google and get some ppa which got the latest versions of these softwares. Then i thought to upgrade the whole LAMP server I mean the PHP, Apahce, MySQL, phpMyAdmin etc. The commands I used to install these are given below: 1: sudo passwdĥ: apt-get install mysql-server mysql-clientĩ: ln -s /etc/phpmyadmin/nf /etc/apache2/conf.d/nf If you've done everything right, you'll have a configured ready-to-use local server.Recently I have install the PHP, Apache, MySQL, phpMyAdmin, python in my Ubuntu Desktop 12.04.3 LTS to use it as a LAMP server. Trap 2: http //localhost/phpmyadmin HTTP ERROR 500 sudo apt-get install php-mbstring php-gettext Trap 1: http //localhost/phpmyadmin not found ubuntu With Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies Install PhpMyAdmin apt-get install phpmyadminĬonfigure it to your needs: point out that you use Apache2, write the database password and the PhpMyAdmin password. Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies Install additional modules sudo apt-get install php5.6-mbstring php5.6-mcrypt php5.6-mysql php5.6-xml sudo apt-get purge `dpkg -l | grep php| awk '' |tr "\n" " "`Īdd PPA sudo add-apt-repository ppa:ondrej/php Install PHP 5.6įirst of all, you have to delete all older versions if you have any. The configure script will ask a user for an admin password (root) of the database. To install the MySQL server, run the following command: sudo apt-get install mysql-server ![]() MySQL is available in the Ubuntu repositories. So Apache2 is working, the first host has been added. ![]() Now, you just need to reload the Apache2 configurations: service apache2 reload Mind the trap: if you get an error and you can't create a link, you can fix it this way: ln /etc/apache2/sites-available/nf /etc/apache2/sites-enabled/ Now you should create a link on it in sites-enabled. The phpMyAdmin must have a database installed and. This is enough to get your local host working. Select the Web server that should be automatically configured to run phpMyAdmin. There we write the following: ServerName mysite.loc conf, create a new configuration files with *. During the installation, it will prompt you to select a web. The above command will install all necessary dependencies including PHP7 extensions. sudo apt update sudo apt install phpmyadmin. so we can easily install it with the command below. By the way, if your default configuration file ends with. phpMyAdmin is included in Ubuntu 16.04 software repository. Go to available hosts and create a configuration file for mysite.loc. ![]() In the “sites-available” directory you'll find configurations of the available hosts and in the “sites-enabled” directory there are links to active hosts. ![]() Take a look what's inside: :/etc/apache2# ls -l Write in the hosts /etc/hosts (nano /etct/hosts) 127.0.0.1 mysite.loc The example of creating a host file: sudo /var/You can skip the next steps regarding virtual hosts. Give permission to execute the script: chmod x /var/www/vhosts.sh Set up virtual hosts (VirtualHost)įor lazybones, we have a bitbucket template (only for local hosts). phtmlĪddDefaultCharset UTF-8 Restart Apache service apache2 restart # Fix the warning when restarting ApacheĪddType application/x-httpd-php. Update the software sudo apt-get update Install Apache 2 apt-get install apache2Ĭonfigure Apache2 nano /etc/apache2/nf Remember to issue sudo command (sudo su -) when following the instruction. Software installation on Ubuntu 16.04 is done in several stages described below.
0 Comments
Leave a Reply. |