Jump to content


This topic is now archived and is closed to further replies.


Which version Of PHP and MySQL best to use together?

Recommended Posts

I'm beginning a new PHP project on a new Computer. Previously I have had problems with versions of PHP and MySQL when trying to communicate between the two. The main problem was once that I had to use OLD_PASSWORD('password') so that I could access the database through PHP.

Now with this new project I was wondering if anyone can advise which versions are best to use together?



Share this post

Link to post
Share on other sites
I use PHP5 and MySQL5 with Apache2.0.x

If you use PHP4 and MySQL5 then you need to use the OLD_PASSWORD function when setting a password for mysql users, as php4 uses an older mysql client. I dont get this problem with PHP5.

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.