Solved

phpmyadmin fedora 8 red hat

Posted on 2009-07-03
3
565 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
[X]
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
  • 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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to count occurrences of each item in an array.

717 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