Link to home
Start Free TrialLog in
Avatar of vidda22
vidda22Flag for United Kingdom of Great Britain and Northern Ireland

asked on

phpmyadmin fedora 8 red hat

Hi I've got dedicated server, where I try to install phpmyadmin, I've done all the following steps:
unpack the package
> tar -xzvf phpMyAdmin.tar.gz
Move it to the appropriate place.
> mv phpMyAdmin /usr/share/
Create the apache config file for phpmyadmin and restart apache.
> echo "alias /webdb /usr/share/phpMyAdmin" > /etc/httpd/conf.d/phpMyAdmin.conf
> service httpd restart
Configure phpMyAdmin
> cd /usr/share/phpMyAdmin
> cp libraries/config.default.php config.inc.php
> nano -w config.inc.php
Locate each of the following lines and be sure each has the following settings.
$cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication method (con$
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = ''; // MySQL password (only nee$
Save the file.

I set my $cfg to :
$cfg['Servers'][$i]['auth_type'] = 'http';
$cfg['Servers'][$i]['user'] = '';
$cfg['Servers'][$i]['password'] = '';

So now I am meaned to go to url of my website and type
<url>/phpMyAdmin
but I get HTTP 404 error

I don't know how to access phpmyadmin on the server?
ASKER CERTIFIED SOLUTION
Avatar of BrianMM
BrianMM
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of vidda22

ASKER

Well I tried to instal it, but that's what I got back:

yum install phpmyadmin
Setting up Install Process
Parsing package install arguments
No package phpmyadmin available.
Nothing to do

I don't know how to add package to linux, I am very beginner in that field...
Personally, i would just extract it to the httpdocs and follow http://www.phpmyadmin.net/documentation/

you may have a path like this:

/home/username/public_html/ if you do you could shove it in there

the main web root may be:

/usr/local/apache/htdocs

as i said a while since i've used redhat...