Weird error in phpmyadmin, It is installed successfully but still not working

前端 未结 3 684
长情又很酷
长情又很酷 2021-01-20 02:21

I have been struggling to install phpmyadmin from whole day. I have tried it reinstalling many times, but its not working. On opening localhost/phpmyadmin i am getting some

3条回答
  •  自闭症患者
    2021-01-20 03:17

    Finally my problem is solved!. I dont exactly know which commands worked for me but these are the last commands i run to solve the problem.

    sudo apt-get install -f

    sudo apt-get remove --purge apache* && sudo apt-get remove --purge libapache* && sudo apt-get remove --purge php*

    sudo apt-get remove --purge php5-common php5-cli

    sudo apt-get install apache2 php5 libapache2-mod-php5 mysql-server php5-mysql

    sudo service apache2 restart sudo apt-get install phpmyadmin sudo service apache2 restart

    sudo apt-get remove --purge php5-common php5-cli

    sudo apt-get install apache2 php5 libapache2-mod-php5 mysql-server php5-mysql

    sudo service apache2 restart

    and browse it on http://localhost/phpmyadmin/

    If your problem still not solved then first install node js by-

    sudo apt-get update

    sudo apt-get install nodejs

    then again try all commands because i have also installed node js before running above commands i think node js is related to this javascript problem or refer questions-https://askubuntu.com/questions/308523/i-have-broken-ubuntu and https://askubuntu.com/questions/307761/php-server-setup-not-working

提交回复
热议问题