After , I installed PHP5, Apache2 and MySQL completed. I want to maintain MySQL service by phpMyAdmin program. This is solution of how to install phpMyAdmin 2.11.3 on CentOS 5.
[ad#ad-post-1]
- $ su –
- # cd /var/www/html
- # wget -c http://prdownloads.sourceforge.net/phpmyadmin/
phpMyAdmin-2.11.3-english.tar.gz?download - # tar xvfz phpMyAdmin-2.11.3-english.tar.gz
- # mv phpMyAdmin-2.11.3-english phpmyadmin
- # cd phpmyadmin
- # cp config.sample.inc.php config.inc.php
- # vi config.inc.php
:
$cfg[‘Servers’][$i][‘auth_type’] = ‘http‘; # default is cookies
: - # service httpd restart
You can test by open phpmyadmin by this link :
http://your.domain.com/phpmyadmin/
You should be find pop up for insert your user name and password.
Thanks so much for this step-by-step process. This really helps the new people that are just starting out on Unix and learning Unix.
You do not need step 9 – the httpd server does not need to be restarted.
Jonny,
Thank your guide. 🙂
Thanks, please visit my blogs http://panupongsk.blogspot.com , if you have a time.
Greate guide,it helped me very much thank you
Thanks for the installation steps
Regards,
Nitin
Hi,
After i did all the above installation steps and when i type the given URL in the browser,
http://localhost/phpmyadmin/
the page is loading for a very long time and finally got the below error.
—————————————————————————————————————–
Bad Request
Your browser sent a request that this server could not understand.
Size of a request header field exceeds server limit.
Cache-Control: max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, max-age=0, m
—————————————————————————————————————–
Apache/2.2.3 (CentOS) Server at localhost.localdomain Port 80
—————————————————————————————————————–
Please help me to slve this issue,thanks for your help.
Hello Folks,
It’s Working
Thanks
yayy it worked
Good tutorial, but I’m getting the error “You don’t have permission to “phpmyadmin” server folder. I’ve tried chown -R and chmod 0700 commands but in vain.
What is your owner when you changed owner by chown command ?
cd /var/html/www/
or
cd /var/www/html/ This is my dir settings when I installed Apache,Mysql and PHP
Hi Donald,
Your dir is correct !!! . 😀
You are better locating phpmyadmin in /usr/share then you do a link in www
ln -s /usr/share/phpmyadmin /var/www/html
Hello
I’m just not sure about this
:
$cfg[‘Servers’][$i][‘auth_type’] = ‘http‘; # default is cookies
:
What should I do after I did vi to config.inc.php to the file??
Thank you
Hi Mustapha,
You don’t do anything except press F5 button on your web browser.
Really helpful!!
can’t open http://server/phpmyadmin/
Hi Jideck,
Please try http://localhost/phpmyadmin/ or http://127.0.0.1/phpmyadmin/ .
Hello,
my php version 5.3..im writing my browser adress line http://localhost/phpmyadmin
but have this message : PHP 5.2+ is required…why ?..please help me
Hey hellx, that happen to me as well, the new version 3.xx of phpmyadmin needs PHP 5.2+ if you don’t want to upgrade your PHP you will need to use version 2.xx
hey martinparks, already my php version 5.3.0 and version 3.xx phpmyadmin must run my system. But its not runing. What is the problem ?
thanks for your info….
Have same prob using PHP 5.2.9:
PHP 5.2+ is required…
Has someone a solution?
Hi guys, thanks so much. I am new to linux. I follow the steps but this is the error I get.
phpMyAdmin – Error
Cannot load mysql extension. Please check your PHP configuration. – Documentation
I follow the steps but still have the below error. Can anybody help?
phpMyAdmin – Error
Cannot load mysql extension. Please check your PHP configuration. – Documentation
I downloaded the latest phpMyAdmin-3.2.4-rc1-english.tar.gz and installed it that way instead of the wget.
When i open a firefox it comes up with
Welcome to phpMyAdmin 2.11.5 not 3.2.4
Also below the language selection it says
Error
The configuration file now needs a secret passphrase
(blowfish_secret).
What does this mean?
I searched the config file and found a line like this
$cfg[‘blowfish_secret’] = ‘ ‘; /*YOU MUST FILL IN THIS FOR COOKIE AUTH! */
I entered a password inbetween the ‘ ‘ but it still comes up with the above error.
Whats going on there?
thanks a lot my friend. It was really easy to get the job done.
hi,
mate, i’m a bit lost.
why dont your tut work for me?
when here:
http://localhost/html/phpmyadmin/
i get all the direcory file listings – no phpmyadmin.
when here,:
http://localhost/phpmyadmin
i get file not found?
plz help.
tanx.
i can’t access phpmyadmin,hv some error”forbidden”
you dont have permission to access/phpmyadmin on this server
Thanks a lot, this was very helpful.
http://techblog.cfbangor.com
Thanks a lot, this was very helpful.
It’s work, thanks for share.
got the same problem
if you want to use for centos 4.6 you must use phpMyAdmin 2.11.11.3
1. Open /etc/httpd/conf/httpd.conf and include this line on last :
Include /etc/httpd/conf/phpmyadmin.conf
2. Make file /etc/httpd/conf/phpmyadmin.conf :
Alias /phpmyadmin /var/www/phpmyadmin
Options None
Order allow,deny
allow from all
3. ektrack phpMyAdmin 2.11.11.3 on /var/www/ and rename file to phpmyadmin
3. service httpd restart
Done try browse http://youdomain.com/phpmyadmin
thanks
i alrelly configed but it show You don’t have permission to access /phpmyadmin on this server.
Apache/2.2.15 (CentOS) Server at localhost Port 80
please help me
i already configed bit it show You don’t have permission to access /phpmyadmin on this server.
Apache/2.2.15 (CentOS) Server at localhost Port 80
please help me
thank!
Cheers did the trick for me on CENTOS6. Bookmarked.
It works,
Thank you for sharing
🙂
i have did all the steps but when i visit http://mydomain.com/phpmyadmin
it says
Not Found
The requested URL /phpmyadmin was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at mydomain.com Port 80