Re: 关于安装phpmyadmin问题
发表于 : 2012-09-07 0:10
我的也是直接apt-get install phpmyadmin安装的,也进不了phpmyadmin,把/usr/share/phpmyadmin复制过去/var/www之后就正常了,我想如果做软链接应该也可以吧。
SexyBro 写了:Should you get a 404 "Not Found" error when you point your browser to the location of phpMyAdmin (such as: http://localhost/phpmyadmin) this is likely caused by not checking the 'Apache 2' selection during installation. To redo the installation run the following:
Code:
sudo dpkg-reconfigure -plow phpmyadmin
Then select Apache 2 for the webserver you wish to configure.
If this does not work, then you can do the following to include the phpMyadmin-shipped Apache configuration into Apache:
Code:
sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf
sudo /etc/init.d/apache2 reload
我想问下sudo dpkg-reconfigure -plow phpmyadmin 重装phpmyadmin后会不会影响mysql里面的数据呢??rocklqy 写了:当出现选择apache2 或者 另外一个web服务器(名字忘记了),要注意用空格键选中,我第一次就被误导以为选中了。
后来重新配置就好了。
SexyBro 写了:Should you get a 404 "Not Found" error when you point your browser to the location of phpMyAdmin (such as: <!-- m --><a class="postlink" href="http://localhost/phpmyadmin">http://loc ... myadmin</a><!-- m -->) this is likely caused by not checking the 'Apache 2' selection during installation. To redo the installation run the following:
Code:
sudo dpkg-reconfigure -plow phpmyadmin
Then select Apache 2 for the webserver you wish to configure.
If this does not work, then you can do the following to include the phpMyadmin-shipped Apache configuration into Apache:
Code:
sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf
sudo /etc/init.d/apache2 reload