LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-29-2015, 01:50 PM   #1
johnpuppa
Member
 
Registered: Jun 2013
Distribution: Slackware
Posts: 44

Rep: Reputation: Disabled
Can't get phpMyAdmin to run


Hello guys,

As the subject says I can't get phpMyAdmin to run. Basically I keep getting
Quote:
Forbidden

You don't have permission to access /phpMyAdmin on this server.
I'm running Slack 14.1
With these packages:

httpd-2.4.16-i486-1_slack14.1
php-5.4.45-i486-1_slack14.1
phpmyadmin-4.4.15-noarch-1_SBo

Quote:
#
# phpMyAdmin - MySQL Database Administration Tool
#

Alias /phpMyAdmin /var/www/phpMyAdmin

<Directory "/var/www/phpMyAdmin">
DirectoryIndex index.php
AllowOverride All
Options FollowSymlinks
Require all granted
</Directory>
config.inc.php has
Quote:
$i = 0;

/*
* First server
*/
$i++;
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'cookie';
/* Server parameters */
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
$cfg['Servers'][$i]['AllowNoPassword'] = false;
folder permissions 755 for phpMyAdmin

Why do I get a permission error?

ls -ld phpmyadmin/
drwxr-xr-x 10 root apache 4096 Oct 29 18:46 phpmyadmin/

Tried everything... I cant get it to work.. Hope you can help me.

Thanks!
 
Old 10-29-2015, 02:05 PM   #2
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
chown your phpmyadmin directory recursively to apache:apache.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How to run phpMyAdmin alongside Tomcat web applications LXer Syndicated Linux News 0 09-14-2011 01:10 PM
phpmyadmin cannot be run on browser. cslucsm Ubuntu 2 09-17-2010 03:46 PM
phpmyadmin cannot be run on browser. cslucsm Ubuntu 1 09-17-2010 09:59 AM
can not run phpmyadmin SushilC Linux - Newbie 5 09-17-2008 06:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration