Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

In my application there are two PHP are available.

1) PHP 5.1.6

2) PHP 5.2.6

Currently I am using PHP 5.2.6 version in my application. Also I'm using PHP 5.2.6 database ( phpmyadmin ).

Here my question is I want to use another PHP's database ( phpmyadmin ) i.e. PHP 5.1.6 's phpmyadmin.

I dont know how to do this, Please give me ur suggestions, in which file should i make change for accessing correct database in my application.

Thanks

-Pravin

share|improve this question

2 Answers 2

up vote 0 down vote accepted

phpMyAdmin runs with PHP 5.1.6 as well as with PHP 5.2.6 and several other versions of PHP.

share|improve this answer
    
ohhhhh....is it so...you are saying that no need of doing this dababase redirection....only one phpMyAdmin available for all php version? Thanks –  user52534 Aug 30 '10 at 10:06
    
phpMyAdmin is no database. It's merely a web-based frontend for MySQL written in PHP. So yes, you'll only need one installation of phpMyAdmin on your server even if you run more than one PHP version in parallel. –  joschi Aug 30 '10 at 12:53

It sounds to me like you're asking if the version of phpadmin you use to manage the database affects the version you use to run your application. It does not. The version of PHP you use for your application and phpmyadmin do not have to match.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.