473,386 Members | 1,609 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Upgrading PHP

Hi to all,
Our server is running a version of PHP that is getting a bit old
(4.1.2). We'd like to take advantage of some of the functions &
stability of subsequent versions.

How can I upgrade easy & clean ? I'd like to avoid rebooting the WinNT
server. As far as I remember, the installshield asks to reboot, right ?

Can I "just" extract the binary in the directory, overwrite the PHP.ini
& restart the IIS service ?

Thanks a lot in advance !
Damien
Jul 17 '05 #1
6 2267
Damien wrote:
Hi to all,
Our server is running a version of PHP that is getting a bit old
(4.1.2). We'd like to take advantage of some of the functions &
stability of subsequent versions.

How can I upgrade easy & clean ? I'd like to avoid rebooting the WinNT
server. As far as I remember, the installshield asks to reboot, right ?

Can I "just" extract the binary in the directory, overwrite the PHP.ini
& restart the IIS service ?

Thanks a lot in advance !
Damien

Because of the way MS does stuff, I don't think there is going to be any
way around it... With Windows there are way too many things that could
go wrong - regedits, files in the wrong directory - not being able to
replace a file because windows has it locked - even if it is not in
use... the list goes on.

My experience has always been to follow the prescribed method or risk
things just not working right... pick some off-hours time, shut it down,
do the upgrade and reboot...

Thanks to MS, reboot is the only option! Now, if you were on Unix/Linux
or something like OpenVMS, you wouldn't have those problems, but I would
still do the upgrade during "off-hours" just in case something goes
wrong. Make sure you backup your system prior to the upgrade just in
case something goes really wrong. Get a test system and actually
practice the upgrade.

Michael Austin
Jul 17 '05 #2
Michael Austin a écrit :
Because of the way MS does stuff, I don't think there is going to be any
way around it... With Windows there are way too many things that could
go wrong - regedits, files in the wrong directory - not being able to
replace a file because windows has it locked - even if it is not in
use... the list goes on.
:( d'oh... I kept hoping there was a way around... Well, I guess that's
life ;). Me and the compter service admin are in for an late-quit this
week ;)

My experience has always been to follow the prescribed method or risk
things just not working right... <snip>
Mine too, but well, sometimes fiddling "just works".
Thanks to MS, reboot is the only option! Now, if you were on Unix/Linux
or something like OpenVMS, you wouldn't have those problems, but I would
still do the upgrade during "off-hours" just in case something goes
wrong.

<snip>
I know :) . But in the company I work for (small, family driven), the
"jet set" doesn't want to hear about Linux. They are too afraid
something goes wrong and we have to hire several technicians to fix things.
Anyway, thanks for the fast input !
Damien
Jul 17 '05 #3
Damien wrote:
Michael Austin a écrit :
Because of the way MS does stuff, I don't think there is going to be
any way around it... With Windows there are way too many things that
could go wrong - regedits, files in the wrong directory - not being
able to replace a file because windows has it locked - even if it is
not in use... the list goes on.

:( d'oh... I kept hoping there was a way around... Well, I guess that's
life ;). Me and the compter service admin are in for an late-quit this
week ;)

My experience has always been to follow the prescribed method or risk
things just not working right...


<snip>
Mine too, but well, sometimes fiddling "just works".
Thanks to MS, reboot is the only option! Now, if you were on
Unix/Linux or something like OpenVMS, you wouldn't have those
problems, but I would still do the upgrade during "off-hours" just in
case something goes wrong.


<snip>
I know :) . But in the company I work for (small, family driven), the
"jet set" doesn't want to hear about Linux. They are too afraid
something goes wrong and we have to hire several technicians to fix things.


Yeah, that may be true, but they would still spend less than they are
now by not having to worry about the latest worm that will shut them
down for days.... -which is why I use OpenVMS -- it is NOT
Linux/Unix!!! And is virtually hack proof.. It may be a bit more
expensive than M$, but what do you want? cheap or be hacked every other
week???

true story:
At DEFCON9 (hackers convention in Las Vegas every year with > 10K
attendees) an OpenVMS system was entered into the contest to see who
could hack what... the only system on the floor not hacked was the
OpenVMS system. The following year, the DEFCON rules changed so that
only "their" Linux kernel on Intel/AMD chips could be used.

Anyway, thanks for the fast input !
Damien


Michael Austin
Jul 17 '05 #4
Michael Austin a écrit :
<snip>
I know :) . But in the company I work for (small, family driven), the
"jet set" doesn't want to hear about Linux. They are too afraid
something goes wrong and we have to hire several technicians to fix
things.

Yeah, that may be true, but they would still spend less than they are
now by not having to worry about the latest worm that will shut them
down for days.... -which is why I use OpenVMS -- it is NOT
Linux/Unix!!! And is virtually hack proof.. It may be a bit more
expensive than M$, but what do you want? cheap or be hacked every other
week???


<OT>
<sigh>... ;) what can I say...</sigh>Anyway, surpisingly, we have not
been hakced yet. Just 1 or 2 viruses in the last 24 months. I guess ou
Internet Service Provider does a good job.
</OT
true story:
At DEFCON9 (hackers convention in Las Vegas every year with > 10K
attendees) an OpenVMS system was entered into the contest to see who
could hack what... the only system on the floor not hacked was the
OpenVMS system. The following year, the DEFCON rules changed so that
only "their" Linux kernel on Intel/AMD chips could be used.

:o)

Thanks again !
Damien
<snip>
Jul 17 '05 #5
hi,

just some hint in thema of security: if the server your are talking about is
the one from which you are posting (bidule.net) then it's not really wise
to give details that on such server there is an old pho installation
working.
php in version 4.1.x had some bugs which can easily be used to hack a server
on which the site is running. giving such informations in a plain text on
newsgroups is just what some people are searching for... let's not getting
them too much fun :)

cheers
a.
Hi to all,
Our server is running a version of PHP that is getting a bit old
(4.1.2). We'd like to take advantage of some of the functions &
stability of subsequent versions.

How can I upgrade easy & clean ? I'd like to avoid rebooting the WinNT
server. As far as I remember, the installshield asks to reboot, right ?

Can I "just" extract the binary in the directory, overwrite the PHP.ini
& restart the IIS service ?

Thanks a lot in advance !
Damien


Jul 17 '05 #6
Andrzej Bednarczyk a écrit :
hi,

just some hint in thema of security: if the server your are talking about is
the one from which you are posting (bidule.net) then it's not really wise
to give details that on such server there is an old pho installation
working.
php in version 4.1.x had some bugs which can easily be used to hack a server
on which the site is running. giving such informations in a plain text on
newsgroups is just what some people are searching for... let's not getting
them too much fun :)

cheers
a.


Thanks for the tip... But I got tired of giving my real email adresse in
newsgroups after I reached 20 spams a day. ;o)

Actually, "truc" and "bidule" in French mean something like "stuff",
"thingy" or "whatchamacallit". I somehow got the hint that
"my**********@SPAMmyserver.com would not be efficient for long.

Anyway, the server I'm speaking of is intranet-only. I would not dare
set up myself a PHP+MySQL+IIS server <shudders>. After all, I've only
been a newbie for 3 years ;o) .

Thanks for the info !

Cheers,
Damien
---
"I asked Dad if I was gifted when I was born.
He said they would certainly not have paid for me."
Calvin & Hobbes (B. Watterson)
Jul 17 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: S. Crespel | last post by:
Hi, Where can I find informations about consequences of upgrading from PHP 4.2.3 to 4.3 regarding existing PHP applications ? I have lots of existing PHP (4.2.3) scripts, will everything still...
1
by: bartolomesintes | last post by:
Hi, I have installed PHPHome 2.3.4 in Windows XP. This WAMP package installs Apache 2.0.50 , PHP 5.0.0 and it works fine. The SQLite installed version is 2.8.14 and I would like to upgrade to a...
6
by: Michael Foord | last post by:
http://www.voidspace.org.uk/python/articles/upgrading_python.html I've been looking at whether to upgrade immediately from Python 2.3 to Python 2.4 or postpone it. This is my first `major version...
0
by: Jonathan Hilgeman | last post by:
Currently, I'm running 3.23.51 on Red Hat 7.1, and I'm contemplating upgrading to MySQL 4.0, but I'm not sure what to expect. I don't know if MySQL 4.0 is fully backwards-compatible with 3.23.x...
2
by: wellington fan | last post by:
Dear newsies, My ISP has offered to upgrade my servers from 3.23 to 4.1. I'm excited by the potential gains in performance, and the ability to write subqueries, but am wary of any forward...
5
by: Mike Owen | last post by:
Hi, I have just used the import Wizard to import a VS 2003 app to VS 2005. I have a lot of work to do to enable it to compile successfully with all the errors and warnings it gave me, but as a...
13
by: Noesis Strategy | last post by:
When I ordered my new laptop, Sony didn't offer Access 2003 in its bundles. Recently, I have begun to design Access databases using an copy of Access 2002 from my previous laptop. It works fine,...
11
by: Aidan Tobin | last post by:
Hi, I have to upgrade a number of databases from Access 2.0, Access 97 and Access 2000 to work in Office 2003. These databases contain a number of Forms coded with VBA as well as a number of...
1
by: progTiger | last post by:
The upgrade wizard just hangs on step 5 of 5 when it reaches "Upgrading DataEnvironment..." I have let it sit for 3 hours and it does nothing. .Net Studio is not frozen, but the process does...
6
by: JimLad | last post by:
Hi, We have a major ASP app that we are in the process of upgrading to ASP.NET 1.1 and probably on to ASP.NET 2.0 in the middle of next year. (We will also be upgrading to SQL2K5 at the same...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.