Page 1 of 1

I want help about Compatibility of PHP-MySQL

Posted: Sun Apr 20, 2008 11:13 pm
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

Re: I want help about Compatibility of PHP-MySQL

Posted: Mon Apr 21, 2008 2:55 am
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.