Hi,
Server :- RH 8 with Webmin.
I have extracted my phpymyadmin ver 2.4.0 in my document root folder called /home/user/public_html/phpMyAdmin-2.4.0-rc2.
I have PHP ver :- 4.2.2-8.0.7 installed on my folder.
Now could some one tell me what variables do i set up in my config.inc.php3 file and how do i access it.
Any help is appreciated !!
AcuNett
02-25-2003, 02:26 PM
You need to change:
$cfg['PmaAbsoluteUri'] = ''; to something like
$cfg['PmaAbsoluteUri'] = 'https://www.acunett.com/phpmyadmin';
and
$cfg['Servers'][$i]['user'] = '';
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['only_db'] = '';
pyoor
02-25-2003, 02:28 PM
ewww... phpmyadmin sucks... you should use MySQL Front instead...
Anyhow... just make a VirtualHost that points a domain to that DocumentRoot or you can http://domain.com/user/phpMyAdmin-2.4.0-rc2/ and that oughta work... If you dont have a domain put your IP address in there instead.
---www.sekure.us---
Hi pyoor
i am trying to access it the way u r telling me, but i get some thing like this on my screen
<?php
/* $Id: index.php3,v 1.36 2003/01/08 13:50:27 nijel Exp $ */
// vim: expandtab sw=4 ts=4 sts=4:
/**
* Gets core libraries and defines some variables
*/
require('./libraries/grab_globals.lib.php3');
require('./libraries/common.lib.php3');
// Gets the default font sizes
PMA_setFontSizes();
ETC.. ETC
in my cfg this is what i have
$cfg['PmaAbsoluteUri'] = '/home/domainc_html/phpMyAdmin-2.4.0-rc2/
what could be wrong
AcuNett
02-25-2003, 02:37 PM
try http://www.yourdomain.com/phpMyAdmin-2.4.0-rc2
i m trying it with my http://1.2.3.4/phpMyAdmin-2.4.0-rc2
But no luck..do i have to give some DB name $cfg['Servers'][$i]['only_db'] = ''; ???
FW-Mike
02-25-2003, 10:39 PM
try http://127.0.0.1/phpMyAdmin-2.4.0-rc2
nmluan
02-26-2003, 01:24 AM
If you run phpMyAdmin and see some <?php on your screen check to see if you have php properly installed on your system and if apache is configured with php support or not.
ML
DigiCrime
02-26-2003, 03:02 AM
Originally posted by nmluan
If you run phpMyAdmin and see some <?php on your screen check to see if you have php properly installed on your system and if apache is configured with php support or not.
ML
What he said. If PHP isnt installed properly or configured, you will just see the PHP code itself <? php stuff ?> Download it from php.net, (from source) ./configure --with-whatyou needto have then make then make install,(or you can use an RPM either way i guess) restart apache and then run phpmyadmin see how it works.
Hi guys,
Yes PHP was not properly configured in Apache, had to redo it , and now it works great.
Thanks
One more quick question, how do i protect it with .htaccess ?
any one ?