Re: [PHP-DB] Upgrading PHP Version 5.1.6

2010-03-05 Thread David McGlone
On Friday 05 March 2010 12:35:43 Vinay Kannan wrote:
 Hello,
 
 I am currently using  php version 5.1.6 and now m thinking of upgrading, i
 got php installed long time back using WAMP, i wanted to know if theres an
 easy way to upgrade directly, without having to remove this version, i also
 have a good number of databases, and it would be a pain, if i am required
  to uninstall the current version of wamp and then reinstall the newer
  version.

I am not experienced at all with WAMP, because I've always used LAMP, but I'd 
suspect that WAMP works like LAMP and uninstalling PHP will not remove any 
MySQL tables.

-- 
Blessings
David M.
I have been driven to my knees many times by the overwhelming conviction that 
I had nowhere else to go.

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



Re: [PHP-DB] Upgrading PHP Version 5.1.6

2010-03-05 Thread kesavan trichy rengarajan
Well, you can always backup your databases through phpMyAdmin (export) or
from commandline using mysqldump just to be on the safer side.

On Sat, Mar 6, 2010 at 12:51 PM, David McGlone da...@dmcentral.net wrote:

 On Friday 05 March 2010 12:35:43 Vinay Kannan wrote:
  Hello,
 
  I am currently using  php version 5.1.6 and now m thinking of upgrading,
 i
  got php installed long time back using WAMP, i wanted to know if theres
 an
  easy way to upgrade directly, without having to remove this version, i
 also
  have a good number of databases, and it would be a pain, if i am required
   to uninstall the current version of wamp and then reinstall the newer
   version.

 I am not experienced at all with WAMP, because I've always used LAMP, but
 I'd
 suspect that WAMP works like LAMP and uninstalling PHP will not remove any
 MySQL tables.

 --
 Blessings
 David M.
 I have been driven to my knees many times by the overwhelming conviction
 that
 I had nowhere else to go.

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




Re: [PHP-DB] Upgrading PHP Version 5.1.6

2010-03-05 Thread Lester Caine

Vinay Kannan wrote:

Hello,

I am currently using  php version 5.1.6 and now m thinking of upgrading, i
got php installed long time back using WAMP, i wanted to know if theres an
easy way to upgrade directly, without having to remove this version, i also
have a good number of databases, and it would be a pain, if i am required to
uninstall the current version of wamp and then reinstall the newer version.


There is no problem installing a new copy of PHP into it's own directory, and 
then changing your Apache httpd.conf to point to the new copy. Nothing else is 
affected by this, and it should be possible to switch between versions of PHP 
simply by restoring the old copy of httpd.conf.


The only thing to watch out for is where your php.ini file is being stored. 
httpd.conf an supply a location for this, but many WAMP setups simply use a copy 
in the c:\windows directory. If this is the case, then it is worth adding a 
PHPINIDir to the new httpd.conf pointing to a copy of php.ini in your new copy 
of PHP.


http://php.net/manual/en/install.windows.apache2.php

--
Lester Caine - G8HFL
-
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

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



Re: [PHP-DB] Upgrading PHP

2002-08-14 Thread Adam Williams

I'd uninstall php first...I believe its rpm -e mod_php (or you can do rpm
-e `rpm -qa|grep php` and then I'd upgrade apache and PHP on your box for
security reasons.  Read the installation section in the php manual at
www.php.net for details.

Adam

On Wed, 14 Aug 2002, Julio Cuz, Jr. wrote:

 Hi--

 I'm currently running 4.0.4pl1 on RedHat 7.0 and I want to upgrade to PHP
 4.2.2is there anything special I have to do BEFORE or AFTER the
 install?  Or is it just a straight re-install of PHP on top of the current
 Version?  THANKS!

 Julio Cuz, Jr.
 [EMAIL PROTECTED]
 Information Services
 Riverside Community College


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




Re: [PHP-DB] Upgrading PHP

2002-08-14 Thread Adam Williams

I should add if you are going to upgrade apache also, to rpm -e apache
first so that You will have a clean install.  backup httpd.conf first
though!  But you might want to save /etc/logrotate.d/httpd because the rpm
-e removed this, and it is what rotates the log files for
/var/log/httpd/access_log and error_log

Adam

On Wed, 14 Aug 2002, Julio Cuz, Jr. wrote:

 Hi--

 I'm currently running 4.0.4pl1 on RedHat 7.0 and I want to upgrade to PHP
 4.2.2is there anything special I have to do BEFORE or AFTER the
 install?  Or is it just a straight re-install of PHP on top of the current
 Version?  THANKS!

 Julio Cuz, Jr.
 [EMAIL PROTECTED]
 Information Services
 Riverside Community College


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




RE: [PHP-DB] Upgrading PHP

2002-08-14 Thread MET

Don't forget to make register_globals equal to on instead of off.  Well,
actually this is just a security/preference issue.

Prior to PHP 4.2.0 globals were default to on, but now they're default
to off meaning that you have to use _GET['query_string_value'] instead
of just $query_string_value.  You can read about this all over php.net
in the changelogs.

~ Matthew


-Original Message-
From: Adam Williams [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, August 14, 2002 3:52 PM
To: Julio Cuz, Jr.
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] Upgrading PHP


I should add if you are going to upgrade apache also, to rpm -e apache
first so that You will have a clean install.  backup httpd.conf first
though!  But you might want to save /etc/logrotate.d/httpd because the
rpm -e removed this, and it is what rotates the log files for
/var/log/httpd/access_log and error_log

Adam

On Wed, 14 Aug 2002, Julio Cuz, Jr. wrote:

 Hi--

 I'm currently running 4.0.4pl1 on RedHat 7.0 and I want to upgrade to 
 PHP 4.2.2is there anything special I have to do BEFORE or AFTER 
 the install?  Or is it just a straight re-install of PHP on top of the

 current Version?  THANKS!

 Julio Cuz, Jr.
 [EMAIL PROTECTED]
 Information Services
 Riverside Community College


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


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