想請問ubuntu如何安裝 phpmyadmin?
就是可以網頁管理數據表和數據庫~~~~
我是使用 sudo apt-get install phpmyadmin 安裝
但是安裝完之後他叫我訪問 IP/phpmyadmin 但是卻打不開。(確定IP是正確)
巴扎黑2017-04-24 09:14:13
sudo apt-get install phpmyadmin
Just use the above apt-get command to install it. The system will automatically install the Apache and PHP environments that phpmyadmin depends on.
apt-cache show phpmyadmin 可见Depends依赖的库.
Of course, you can also download the latest version from phpmyadmin official website and use it yourself.
You only need to install php-cli and start PHP’s built-in HTTP server.
sudo apt-get install php5-cli php5-mysqlnd
php -S 127.0.0.1:8080 -t /home/yourname/www
Put phpMyAdmin in the root directory of your website/home/yourname/www.
Then visit http://127.0.0.1:8080 in the browser.
怪我咯2017-04-24 09:14:13
Your question is not very specific. I don’t know if you already have php, mysql and other environments. Generally, you can download and unzip it, and you can use it with simple configuration. It is recommended that you check the official installation documentation first, as follows:
How to install phpmyadmin official documentation
If you encounter specific problems during the installation process, you can continue to ask questions. I hope my answers will be helpful to you.