Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Robert on April 30, 2003, 01:35:33 PM
-
hi,
ive donwloaded phpmyadmin-2.5.0-rc2-php.tar, and looked at Documentation.txt, hoping someone knows more than me and can tell me....
1. 'untar in to webserver's document root' ? where is that?
2. 'change config to set host, user, password and authentication mode to fit your environment' ? what should they be?
3. 'protect the directory phpMyAdmin is installed in' ? how ?
4. any other info greatly appreciated
TIA Rob
-
this is the way I get it working:
1. Extract into an ibay e.g "intranet"
2. Go into the config.inc.php file.
3. Edit the part thats got $cfg['PmaAbsoluteUri']
so that it looks like:
$cfg['PmaAbsoluteUri'] = http://your ip/intranet/phpMyAdmin
4. FInd your mysql root password (the .my.cnf file in /root has it) . Say its "secret"
the edit lines 73,74,75 so that they look like
$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = 'secret'; // MySQL password (only needed
thats it!
Point your broswer to http://your ip/intranet/phpMyAdmin and your up and running
sam
-
Or you could get RPM from Darrell May at
http://mirror.contribs.org/smeserver/contribs/dmay/mitel/contrib/phpmyadmin/e-smith-phpmyadmin-2.5.0-5dmc.noarch.rpm
Which does all the setup for you.
-
I would suggest the pre-setup rpm as it also puts the phpmyadmin only avalible via httpS instead of http.
-
thanks to all...
sam, the pre-setup suggested here is easier (thanks Kevin),
and thanks to mntsnow - or i would have missed the https !
and of course thanks to darryl may for his usually easy rpm!
ITS WORKING LIKE A DREAM
best regards Robert
-
I've load the pre-setup phpmyadmin. However, it does not setup cfg$ stuff in the config.inc.php file. I also cannot find the config.inc.php, where is it located?
-
In the top directory thaqt you have nstalled phpadmin in, try
/opt/phpMyAdmin
(watch the caps).
cheers
Brian