PHP5 compatibility
Brought to you by:
jberanek
I am running MRBS with PHP4 with MySQL 3.23.58 but
our web group will be upgrading very soon to PHP 5,
Apache 2, MySQL 4.1
Would I be able to transfer the MRBS from the old
systems to the new system upgrade versions and run it
with PHP 5, Apache 2, MySQL 4.1 without any
problems?
Thanks
Logged In: YES
user_id=77869
I remember John and I having a discussion about this and I
thought there was a problem with the combination that you
are suggesting. However, I have just tried with:
Apache 1.3.33 (I wouldn't worry about this difference)
PHP 5.0.2
MySQL 4.1.7
and it seems to work okay but that was a clean installation.
From this I think that you can do the move. Will you have
any chance to do any beta testing before going live with the
new server.
Just make sure to use mysqldump to get the old data and then
use mysql to reload it (or phpMyAdmin or the like). You
can't just copy across the raw db files (if you are aware of
this then please excuse me for stating the obvious).
Regards, Gavin.
Logged In: YES
user_id=77869
I thing that you will need to read this
http://www.php.net/manual/en/ref.mysql.php
to ensure that the mysql extension is enabled.
Regards, Gavin.
Logged In: YES
user_id=71843
Gavin, the issue we'd discussed is touched on at
http://www.php.net/manual/en/ref.mysql.php
when it says:
"This MySQL extension doesn't support full functionality of MySQL versions greater than 4.1.0. For that, use MySQLi."
I'd read that as meaning that the MySQL extension wouldn't work at all with MySQL greater than 4.1.0, and I think that is actually true on Windows...
As you've found, it is possible, you tried on Linux I guess?
Logged In: YES
user_id=77869
Yes I was running the installation on Linux. It was the
apacahe/mysql/php were all compiled from source so I have
done something during the completation.
I think that the answer to the question posed by 'mnisystems'
is that your mileage may vary. Please let us know how you
get on.
By the time v1.3 comes out we should have support for the
latest versions of MySQL and more db's
Regards
Gavin.