Topic: php 4.4.7 and mysql 5.0.x troubles (Read 378 times)
I am a metal monkey!
Administrator Community Supporter?
Jedai Sword Master
Gender:
Posts: 7975
40807 credits Members referred : 3
« on: Jul 18, 2007, 11:51:58 AM »
Lately I've been coding a new CMS product for my web development clients. As the first client for this product is going to have a site with 8 languages, I thought it would be wise to have a UTF8 encoding system(saves you from a lot of trouble and some people believe it is better for SEO too).
In my development system I have php 4, mysql 4.0 and mysql 5.0. In the server we have php 4, php 5, mysql 4.0 and mysql 5.0. As you may know mysql 4.0.x and smaller versions keep data in ascii format (1 byte per character) while after the 4.1 version they use unicode (2 bytes per character) which give us the ability to have utf8 encoded data. I have never upgraded the mysql from 4.0 as this would cause troubles with our greek applications but now I have to upgrade and use mysql 5.0 for this app.
My problem is that php 4 can't connect to mysql 5.0 (I've tried all possible ways to connect....) I even tried to use custom compiled libraries that didn't worked too. Does anyone here solved this problem somehow, or should I just stick to php 5?