最新的Xampp使用Xampp 1.4.4版本的mysql

Is there any way that I can combine PHP from xampp version 1.8.2 with MySQL from xampp version 1.4.4?

That is PHP 5.4.16 and MySQL 4.0.13

Unfortunately, I have to use that version of MySQL for my project, and wanted the latest that I can work with CI.

I tried to run the latest Apache from xampp and the old MySQL but when I use mysql_connect I see the following error:

Warning:
mysql_connect(): Connecting to 3.22, 3.23 & 4.0 is not supported. Server is 4.0.13- max-debug

Warning:
mysql_connect(): Connecting to 3.22, 3.23 & 4.0 servers is not supported

Any help would be appreciated, even if the answer says that it's not possible to combine the two.

Don't waste time combining old with new parts.

If you (i guess) need to re-use your old databases, just use the latest XAMPP verison and backup all your databases folders XAMPP/xamppfiles/var/mysql/, which you'll can move then into the new directory located in XAMPP/xamppfiles/var/mysql/.

they are just folders you can backup and re-use ;)