Help! No apache.conf file, can't get phpMyAdmin working

Issues related to applications and software problems

Help! No apache.conf file, can't get phpMyAdmin working

Postby phreak » 2012/03/04 19:43:15

this is what I get back when I try to login to Http:\\localhost/phpmyadmin


Not Found

The requested URL /phpmyadmin was not found on this server.
Apache/2.2.15 (CentOS) Server at localhost Port 80

I have a lamp server mostly operational
with phpMyAdmin installed

are there any Apache / other packages required before it works?
I think I read somewhere about needing ant? it was not part of the doc I used to get My admin on to the system though


another thing I saw a post about creating a sym link to apache.conf, but I can't find that file anywhere,.

sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf
sudo /etc/init.d/apache2 reload

Its not that its not in its location but that its not there at all

I did install PHP as a Yum Package

yum install httpd php mysql -y

but have since read to install it as a .Bin

all help is welcome.
-Peter
phreak
 
Posts: 26
Joined: 2012/02/25 23:46:14

Help! No apache.conf file, can't get phpMyAdmin working

Postby pschaff » 2012/03/05 01:44:29

Your post makes very little sense to me, but it appears you may have installed 3rd party packages that replaced core packages, or worse yet done Source Installs. No CentOS or well-known 3rd party repo provides /etc/phpmyadmin/apache.conf, /etc/apache2/conf.d/phpmyadmin.conf, or /etc/init.d/apache2.

What does
Code: Select all
rpm -qa http\* php\*
show? Please provide more information about your system by running "./getinfo.sh package" and showing us the output file.
pschaff
Retired Moderator
 
Posts: 18277
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America

Re: Help! No apache.conf file, can't get phpMyAdmin working

Postby phreak » 2012/03/05 03:54:55

SORRY when I titled this post I ment to say phMyAdmin.conf
is there supused to be a phpMyAdmin.conf?
thats the one I can't find
I did the installs as RPMS

that said

this is what I have installed as far as php is concerned

[root@ns1 peter]# rpm -qa http\* php\*
php-common-5.3.3-3.el6_2.6.x86_64
httpd-tools-2.2.15-15.el6.centos.1.x86_64
httpd-2.2.15-15.el6.centos.1.x86_64
php-mbstring-5.3.3-3.el6_2.6.x86_64
php-intl-5.3.3-3.el6_2.6.x86_64
php-mcrypt-5.3.3-1.el6.x86_64
php-5.3.3-3.el6_2.6.x86_64
php-pgsql-5.3.3-3.el6_2.6.x86_64
php-xml-5.3.3-3.el6_2.6.x86_64
php-gd-5.3.3-3.el6_2.6.x86_64
phpMyAdmin-3.4.9-1.el6.noarch
php-xmlrpc-5.3.3-3.el6_2.6.x86_64
php-php-gettext-1.0.11-3.el6.noarch
php-cli-5.3.3-3.el6_2.6.x86_64
php-pdo-5.3.3-3.el6_2.6.x86_64
php-mysql-5.3.3-3.el6_2.6.x86_64
[root@ns1 peter]#

I am sure there are a few packages in there.

let me know what else I can provide,
peter
phreak
 
Posts: 26
Joined: 2012/02/25 23:46:14

Re: Help! No apache.conf file, can't get phpMyAdmin working

Postby markkuk » 2012/03/05 12:11:07

Looks like you are using the EPEL package for phpMyAdmin. If that's the case then the configuration files are /etc/httpd/conf.d/phpMyAdmin.conf and /etc/phpMyAdmin/config.inc.php. You don't need to edit phpMyAdmin.conf unless you want to enable remote access to phpMyAdmin.
markkuk
 
Posts: 682
Joined: 2007/09/07 10:56:28
Location: Finland

Re: Help! No apache.conf file, can't get phpMyAdmin working

Postby phreak » 2012/03/05 13:26:03

Update


I installed php-pear and now I can log into phpmyadmin

there seems to be no phpMyAdmin file anywhere, I do plan on using it elsewhere, but I should be able to do that with vpn and ssh, to keep it "local" is that right?

thanks for the replies

next is getting my samba server working!

Peter
phreak
 
Posts: 26
Joined: 2012/02/25 23:46:14


Return to CentOS 6 - Software Support

Who is online

Users browsing this forum: No registered users and 1 guest