Category:Technology -> Adventures with the naked Mac Mini Server -> Install phpMyAdmin on Lion
Install phpMyAdmin
Use these steps to install phpMyAdmin
- Download the most recent version of phpMyAdmin.
- Move the phpMyAdmin directory to /Library/Server/Data/Sites/Default/.
- Open a terminal session and enter cd /Libary/Server/Data/Sites/Default.
- Enter sudo chown -R root phpMyAdmin.
- Enter sudo chgrp -R admin phpMyAdmin.
- Enter sudo chmod -R 755 phpMyAdmin.
- Enter cd phpMyAdmin.
- Enter sudo mkdir config.
- Enter sudo chmod -R 777 config.
- Enter sudo cp config.sample.inc.php config.inc.php.
- With your text editor of choice, edit the config.inc.php as follows:
- Change $cfg[‘Servers’][$i][‘host’] = ‘localhost’; to $cfg[‘Servers’][$i][‘host’] = ‘127.0.0.1’;.
- Change $cfg[‘blowfish_secret’] = ‘’; to a string of your choice within the single quotes.
- Save the config.inc.php file.
- Open a browser and navigate to http://server.domain.com/phpMyAdmin/setup and adjust the settings appropriately.
- Open a terminal session and enter sudo rm -rf /Libary/Server/Data/Sites/Default/phpMyAdmin/config.
