Simple Tutorial for installing Apache, PHP, MySQL and phpMyAdmin on Ubuntu
It's good and simple tutorial for this.some additional in comments:
add two lines or modify something similar
extension_dir = "/usr/lib/php5/20060613+lfs/"
extension=mysql.so
remember mot msql.so. it's bug in original php.ini
for phpMyAdmin
1. like in tutorial
sudo ln -s /usr/share/phpmyadmin/ /var/www/phpmyadmin
2. add apache.conf to apache2.conf like
Include /etc/phpmyadmin/apache.conf
I prefer the second option in Ubuntu8.10
Connect remote mySQL from apache
add your new remote mySQL server in /etc/phpmyadmin/config.inc.php
in /usr/share/phpmyadmin/libraries/config.default.php
set to 0, not sure useful or not.
$cfg['ServerDefault'] = 0;
enjoy it.
页:
[1]