473,770 Members | 1,954 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Upgrade php 4.3.6 to 5.2.4 ??

Hi,

What is the best way to upgrade from PHP 4.3.6 to 5.2.4 ?

I'm running windows 2003 server.

Thanks

Sep 20 '07 #1
2 3409
On Sep 20, 4:06 pm, jerryyang_...@y ahoo.com wrote:
Hi,

What is the best way to upgrade from PHP 4.3.6 to 5.2.4 ?

I'm running windows 2003 server.

Thanks

Hi.

I did just that two days ago. are you using IIS or apache?

I'm using apache, so all i needed to do was download the php 5.2.4 zip
from the php website, unzip it and replace the old php directory that
i had.

Dont delete the old php directory until you have the new install
working. Rename your current install to something like php_old or
something. and rename the new install with the name of the old one, in
the same location.

You will then have to reconfigure the new php.ini file in the new
install. Open the php directory, make a copy of the file php.ini-
reccommended and rename it to 'php.ini'.

Open it in a text editor and find the line

extension_dir = "/."

change this to the path of the 'ext' folder in your php directory (you
could use the setting from your old php.ini file since you have just
replaced the old directory with the new one it will be the same)

Load the extensions that you want by uncommenting them in the php.ini
folder, such as mysql etc

THEN

Open the file httpd.conf in your apache/conf directory and add this,
(but change the paths to match your install) and remove the one that
was for your php4 install.

LoadModule php5_module "C:/webserver/PHP/php5apache2.dll "
AddType application/x-httpd-php .php

# configure the path to php.ini
PHPIniDir "C:/webserver/PHP"

NOW

restart your webserver and bob's your uncle!


If you are using IIS, sory cant help there beyond saying - use apache,
it's miles better!
Regards,

Paul

Sep 21 '07 #2
Thanks Paul

I'm using IIS !!
Think I can sort that bit.

Since posting this it looks like SquirelMail may not like PHP 5.x.x

So I may be better sticking with 4.x.x for now.

Think I'll have a play and see what happens :)

Thanks
Sep 21 '07 #3

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

Similar topics

2
1869
by: Tappy Tibbons | last post by:
Have many of you upgraded to VS 2003? We have been using Visual Studio 2002, and are somewhat satisfied, except for the following areas: Speed - VS2002 apps are dead dog slow to start up, and slow the first time a form loads. Has this been addressed? We have been all through the "fixes" that supposedly speed up things in 2002, but they do not work, and are hoping 2003 is better.
1
4601
by: cpchan | last post by:
If I want to upgrade the following system : (1) Oracle 8i RDBMS (2) Oracle Finance 11.5.2 to : (1) Oracle 9i RDBMS (2) Oracle Finance 11.5.8
8
2539
by: Patrick | last post by:
Hi I am in the process of learning javascript and was wondering how often the web professionals update I.E & N.N? I mean do you religiously wait for the next upgrade and download it ASAP when available or do you upgrade only between main version and don't worry about minor updates? I currently have I.E 6.0.2600 & N.N 6.2.3 Latest I.E. is 6.0 (SP1) Latest N.N. is 7.1
4
1993
by: Dave Harney | last post by:
Hi Newsgroup, I'm currently using VS Ver 7.0.9466 with an OS of Server 2000 (domain controller) Ver 5.0.2195 (Build 2195) SP4. I have MSDN Universal and would like to upgrade my development environment ot Server 2003 and VS 2003 Do I need to start from scratch, or will can I use Server 2003 as a simple upgrade to my existing OS?
3
501
by: Ryan Cowan | last post by:
I would like to upgrade from XP Home to Professional. However, I get the following error message: "Setup cannot continue because the version of Windows on your computer is newer than the version on the CD". Ultimately, I want to upgrade so that I can install IIS for the purpose of developeing ASP.NET applications. Thanks in advance, Ryan
3
1927
by: John | last post by:
Hello, I am trying to figure out how to determine if I have fixed an upgrade warning. If I delete the green text then the upgrade warning goes away. However, I would expect it to come back after I rebuild if I haven't changed any of the code. Can anyone clarify what actions to take with the upgrade warnings? Thanks
36
2564
by: Tim | last post by:
Is there a way to upgrade from Visual C++ Net 2002 to Visual C++ Net 2003? The 2002 version does not provide a Windows Forms Designer. I can't find any upgrade package on Microsoft's website. Thanks, Tim
2
1478
by: Jerry Derringer | last post by:
Our company just upgraded to VS 2005 (and by the way, I love it!) I was able to migrate the code for our product from VS2003 to VS2005 with only a few snags, and it's working great now. However we are trying to come up with a non-intrusive way to allow our fairly large number of clients to be able to upgrade to the new .NET 2.0 version of our product. We have our own auto-upgrade code inside our product (it downloads updated dll's from...
6
1832
by: Ajith Menon | last post by:
I am working on a project "ABC" which needs to be upgraded from .NET framework 1.1. We are thinking about upgrading it to .NET framework 2.0. The reason for this is that we have some unmanaged modules (made in VC++) shared with other project "XYZ". The project "XYZ" is upgraded to .NET framework 2.0 from .NET framework 1.1. Now to have the compatibility, forcibly project ABC also have decided to upgrade to .NET 2.0. But I feel why not...
3
4151
by: Mark D Powell | last post by:
I attempted to upgrade my SQL Server 2000 Enterprise Edition (32 bit) to SQL Severer 2005 EE 32 bit and while the prereqs passed the installer will not let me select the version 8.00.x (2000 SP4) database that it finds on the server. When I ckeck the install details it tells me that "Your upgrade is blocked becuase of cluster upgrade rules" I have tried searching the MS site but none of the entries I found appear to apply.
0
9453
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10254
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10036
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9904
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8929
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6710
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5354
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2849
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.