Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

phpmyadmin fedora 8 red hat

Posted on 2009-07-03
3
552 Views
Last Modified: 2013-12-13
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?
0
Comment
Question by:vidda22
  • 2
3 Comments
 
LVL 11

Accepted Solution

by:
BrianMM earned 500 total points
ID: 24770970
you need to put this into the webroot or make a symbolic link....

it should reside in say /var/www/html/ or similar...

Alternativley it can stay whare you have it, but add a virtual host in apache.

Depends how competant you are... if starting out simply move/extract it to the /var/www/html folder.

In redhat it might be called httpdocs can't remember 100%.

However... if your using redhat - if it's your own server why not use yum to install it? :)
0
 

Author Comment

by:vidda22
ID: 24771001
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...
0
 
LVL 11

Expert Comment

by:BrianMM
ID: 24771090
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...
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question