sudo: /opt/lmapp/lampp: command not found

Posted by

The following packages have unmet dependencies:
 mysql-client-5.7 : Depends: mysql-common (>= 5.5)
 mysql-server-5.7 : PreDepends: mysql-common (>= 5.5)
                    Depends: mysql-common (>= 5.6.22-1~)
E: Unable to correct problems, you have held broken packages.
Step 1 ā€“ Configure Apt Repository

Solution:

Step 1 ā€“ Configure Apt Repository

wget http://repo.mysql.com/mysql-apt-config_0.8.9-1_all.deb
sudo dpkg -i mysql-apt-config_0.8.9-1_all.deb

Step 2- Install mysql Server sudo apt-get update sudo apt-get install mysql-server Step 3- Secure Mysql installation

mysql_secure_installation

Install apache web server

sudo apt-get install apache2

Install PHP DO below Things 1. Add Repostitory command

sudo add-apt-repository ppa:ondrej/php
  • Update Packages sudo apt-get update
  • Install php 7.2sudo apt-get install php7.2
  • For php 5.6sudo apt-get install php5.6
  • Chekec Install phpphp -v
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x