How to configure PHP MyAdmin.

PHP MyAdmin is installed for you when you install Tripanel. However, there are a few of things to do to get PHP MyAdmin working. Follow the three easy steps.

1). Create a Read Only user in MySQL.

$> mysql -u root -p --execute "insert into user (host,user,password,select_priv) values ('localhost','some_user',password('some_password'),'Y')" mysql

2). Reload the MySQL tables:

$> mysqladmin -u root -p reload

3). Edit the PHP MyAdmin config file - open "/home/tripanel_server/inc.php"

Find the following two lines

$cfg['Servers'][$i]['controluser'] = '';
$cfg['Servers'][$i]['controlpass'] = '';

Enter the readonly username and password you created in step 1 into the values
Example:

$cfg['Servers'][$i]['controluser'] = 'some_user';
$cfg['Servers'][$i]['controlpass'] = 'some_password';

Save the file.

4). Edit your apache "httpd.conf" file - in many cases this will be "/etc/httpd/conf/httpd.conf"

Add the following:

<Directory /home/tripanel_server/web>
Options FollowSymLinks
AllowOverride All
</Directory>

5). Restart apache

$> /etc/rc.d/init.d/httpd restart

Related:
How to set up MySQL (Distributed with Red Hat Linux)
How to compile MySQL from source on Red Hat Linux
How to set up Tripanel on Red Hat Linux
Tripanel tutorials index

Reference:
Eudora's Qpopper Website
Red Hat Linux Website


 
  Visit Noc2 Scripts and Software