I want help about Compatibility of PHP-MySQL

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
kra
Forum Newbie
Posts: 3
Joined: Sun Apr 20, 2008 11:01 pm

I want help about Compatibility of PHP-MySQL

Post by kra »

Hello,

I am a very new PHP programmer with very few experience. I need your help regarding following matter.

We have following versions of PHP-MySQL-phpMyAdmin at our local office server with Windows 2003 Server Enterprise Edition.

- php 4.3.10
- mysql-4.0.17
- phpMyAdmin-2.5.3-rc3

Now, our client is going to have dedicated server on Godaddy with Windows 2003 Server Standard Edition with following versions of PHP-MySQL-phpMyAdmin.

- php 5.2.3 or 5.2.5
- mysql 5.0 or higher
- phpMyAdmin 2.7 or higher

Now, please let me know that there will be any compatibility issue with our websites because of PHP and MySQL version differences or our websites will work fine without any bug/error although difference of PHP-MySQL versions.

If this compatibility issue may create any issue with us then what may be the possible solutions for it? Please let me know asap.

Thanks in advance,
KRA
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Re: I want help about Compatibility of PHP-MySQL

Post by onion2k »

Writing software on PHP4 and running it on PHP5 is unlikely to give you any major problems. There are a couple of differences like things being passed by reference in 5, but if you're new it's unlikely you'll get those sorts of problems. It should be fine.

That said though, why don't you upgrade the software you're running in the local office? PHP 4 is out of date. You should be using 5.
Post Reply