LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-24-2011, 04:21 PM   #1
bluegospel
Member
 
Registered: Jan 2010
Distribution: centOS
Posts: 404

Rep: Reputation: 53
phpMyAdmin not recognizing stated secret passphrase


Hi. I've done the necessary research and specified a passphrase in config.inc.php, but I still get the (phpMyAdmin) error, "configuration file now needs a secret passphrase," even after reinstalling phpmyadmin. All my searches give this same instruction, which seems in most cases to work. It isn't working in my case and I'm not sure what to do at this point. I'm running Centos 5.6.

Oh, also I've included an alias from /phpmyadmin to usr/share/phpmyadmin in httpd.conf

Last edited by bluegospel; 09-24-2011 at 04:38 PM. Reason: specify what generates error; additional info
 
Old 09-24-2011, 05:06 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

You didn't say how you've installed phpmyadmin. If you used your package manager (yum) it should work after adding a passphrase in config.inc.php, like that:
Code:
$cfg['blowfish_secret'] = 'passphrase';
If you used a tarball from www.phpmyadmin.net, it could be selinux that prevents php to read the config file

Regards
 
1 members found this post helpful.
Old 09-24-2011, 06:40 PM   #3
bluegospel
Member
 
Registered: Jan 2010
Distribution: centOS
Posts: 404

Original Poster
Rep: Reputation: 53
Quote:
Originally Posted by bathory View Post
Hi,

You didn't say how you've installed phpmyadmin. If you used your package manager (yum) it should work after adding a passphrase in config.inc.php, like that:
Code:
$cfg['blowfish_secret'] = 'passphrase';
If you used a tarball from www.phpmyadmin.net, it could be selinux that prevents php to read the config file

Regards
Well, I don't recall exactly what I did with each, but I installed phpmyadmin.noarch first AND then phpmyadmin, both via yum. Later i removed and reinstalled phpmyadmin, after which I reset the passphrase in config.inc.php. I did not use tarballs.
 
Old 09-24-2011, 06:45 PM   #4
bluegospel
Member
 
Registered: Jan 2010
Distribution: centOS
Posts: 404

Original Poster
Rep: Reputation: 53
Was just about to try rebooting, but refreshed my browser for the heck of it first, and it works. Darn! Wish I knew what I did!
 
  


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
phpMyAdmin error: client denied by server configuration: /usr/share/phpMyAdmin Kropotkin Linux - Server 2 05-15-2010 12:55 PM
X resolution uses highest possible even if lower stated in xorg.conf terfy Linux - Software 14 11-05-2007 03:37 AM
LXer: Dell's "secret Linux fling" not so secret LXer Syndicated Linux News 0 01-11-2007 09:33 AM
Auto Shutdown at stated hours br_sriram Linux - Hardware 8 10-23-2004 10:54 AM
Suggestion: # of views stated in thread itself smith847be LQ Suggestions & Feedback 4 09-01-2004 12:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:05 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