Skip to main content

Install phpMyAdmin on FreeBSD 7.1-REL

Posted in
Your rating: None Average: 3.6 (5 votes)

Prerequisites:   Get FreeBSD   FreeBSD 7.1-REL, Apache, PHP, MySQL.

phpMyAdmin is the right tool to use to manage your MySQL databases.

This tutorial installs version phpMyAdmin 3.1.1

Install phpMyAdmin via ports:

prompt# cd /usr/ports/databases/phpmyadmin
prompt# make install and make clean

I de-selected [ ] PDF, and [ ] ZLIB support because they were crashing the install and I don't need em..

phpMyAdmin-3.1.1 has been installed into:

/usr/local/www/phpMyAdmin

Please edit config.inc.php to suit your needs.

To make phpMyAdmin available through your web site, I suggest that you add something like the following to httpd.conf:

This is very basic and will allow you in from a local machine.

  Alias /phpmyadmin/ "/usr/local/www/phpMyAdmin/"

  <Directory "/usr/local/www/phpMyAdmin/">

  Options none

  AllowOverride Limit

  Order Deny,Allow

  Deny from all

  Allow from 127.0.0.1 .example.com

  </Directory>

===> Registering installation for phpMyAdmin-3.1.1

 

Restart Apache:

prompt# apachectl restart

 

All done. Good Luck.

Originally all Howto, config, setups, and supporting documentation was researched and compiled so we could find working solutions for our particular environment. We primarily run and develop FreeBSD 8.2, 7.2, 7.1, and Mac OS X 10.6 Clients and servers. Check out the forums for any further help.

Thank You for visiting we hope you find this site useful in your network projects.

problem with phpMyAdmin 3.1.1 from ports

It wasn't allowing me to log in. I was able to login on the command line..

So, I just downloaded phpMyAdmin-3.3.1-english.tar.gz  and upgraded it.

installed it to the same location.

Works fine now..

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Post new comment

The content of this field is kept private and will not be shown publicly.
CAPTCHA
If you math.. you're in..
1 + 3 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.