Click to See Complete Forum and Search --> : Updating PHP/mySql versions- help needed


mitya
10-05-2003, 06:30 PM
Hi all

I use something called PHP Triad to provide a local PHP/mySql environment for test purposes, but obviously its PHP and mySql versions are out of date now (well, they're not the newest and don't support everything I want).

How would I go about updating specifically the PHP or mySql? I'm aware you can download each of these but would they just slot right in to my existing directories, or would I need to re-install my whole set-up and get the latest Triad? What would be involved in replacing PHP/mySql- just stick it in the right folders and overwrite the old .ini file?

Thanks in advance.

pyro
10-05-2003, 07:21 PM
For PHP, just download the distro you want to install, shut down the server, install PHP, and restart the server. MySQL is pretty similar: Downoad the distro you want, stop MySQL, install it (you can overwrite or use a new dir -- I'd just overwrite), and restart MySQL. You may need to also upgrade the grant tables (http://www.mysql.com/doc/en/Upgrading-grant-tables.html). For more info on upgrading MySQL, see http://www.mysql.com/doc/en/Windows_upgrading.html.