[PHP] upgrading WAMP environment

2003-01-04 Thread Anders Thoresson
 I've been using Apache, MySQL and PHP under Win2k for a while to learn 
PHP. At the moment, I'm running PHP 4.2.2, MySQL 3.23.39 and Apache 2.0.40.

 During the holidays, I've read about a security hole in MySQL and 
therefore plans to upgrade to 3.23.54a. At the same time, I want to install 
PHP 4.3.0 and Apache 2.0.43.

 But when I started to look for upgrading instructions for each software 
package, I find nothing.

 Therefore, I would like to know how to perform an upgrade of each package?

 Should the MySQL and Apache deamons be stopped first?

 Should I install into my current directories?

 Will my config files be overwritten?

 Does it matter which of the three I upgrade first?

 What more should I keep in mind?

 If questions like these are considered off topic, please let me know.

 Best regards,

   Anders


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] upgrading WAMP environment

2003-01-04 Thread David T-G
Anders --

...and then Anders Thoresson said...
% 
%  I've been using Apache, MySQL and PHP under Win2k for a while to learn 
% PHP. At the moment, I'm running PHP 4.2.2, MySQL 3.23.39 and Apache 2.0.40.

Good for you!  All you have left to do is upgrade to Linux ;-)


% 
%  During the holidays, I've read about a security hole in MySQL and 

I haven't seen this one...  If the list isn't interested, could you at
least send me a pointer?


% therefore plans to upgrade to 3.23.54a. At the same time, I want to install 
% PHP 4.3.0 and Apache 2.0.43.

Sounds like fun.


% 
%  But when I started to look for upgrading instructions for each software 
% package, I find nothing.

Yeah.  Generally just think of it as a fresh install instead of an
upgrade.

If I were you, I would

  - shut down mysqld and httpd

  - make a backup, of course

  - save your configs for each (did you install the utils originally?)

  - remove all three

  - install apache

  - install mysql

  - install php

  - install perl ;-)

I say that because the web server is the base and mysql may tie into it;
then you load mysql so php can see both it and the web server; then you
drop in php (and the same for perl and mod_perl :-)

You should be fine with the installation instructions for each.  When in
doubt, you might try the mailing lists for each, but I know that they are
all supposed to go in together.


HTH  HAND

:-D
-- 
David T-G  * There is too much animal courage in 
(play) [EMAIL PROTECTED] * society and not sufficient moral courage.
(work) [EMAIL PROTECTED]  -- Mary Baker Eddy, Science and Health
http://justpickone.org/davidtg/  Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg91603/pgp0.pgp
Description: PGP signature