Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-27-2011, 10:37 AM   PM User | #1
R0b!n
New to the CF scene

 
Join Date: Jan 2011
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
R0b!n is an unknown quantity at this point
Upgrading PHP

Hi I'm a total PHP rookie but I need to upgrade PHP (In windows XP) for a site.

my questions are :
1. How do I upgrade it?
2. what are the risks?
3. Any advice that may come in handy?
R0b!n is offline   Reply With Quote
Old 01-27-2011, 10:59 AM   PM User | #2
Dormilich
Senior Coder

 
Dormilich's Avatar
 
Join Date: Jan 2010
Location: Behind the Wall
Posts: 2,882
Thanks: 9
Thanked 291 Times in 287 Posts
Dormilich is on a distinguished road
1. that depends on how you installed it.
- if you’re using WAMP or XAMPP, a reinstall of these programmes should suffice (note that they have to state in the description what PHP version they use).
- if you installed via php.net’s provided installer, uninstall it and install the new version.
- if you compiled from scratch, refresh the sources and recompile.

2. forgetting to save your previous php.ini settings

3. occasionally, default behaviour changes. e.g. register_globals is deprecated in PHP 5.3, XML handling changed radically from PHP 4 to PHP 5. nevertheless, all such changes are mentioned in the manual.
__________________
please post your code wrapped in [CODE] [/CODE] tags
Dormilich is offline   Reply With Quote
Users who have thanked Dormilich for this post:
R0b!n (01-27-2011)
Old 01-27-2011, 11:22 AM   PM User | #3
R0b!n
New to the CF scene

 
Join Date: Jan 2011
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
R0b!n is an unknown quantity at this point
Okay thanks a lot
R0b!n is offline   Reply With Quote
Old 01-27-2011, 01:59 PM   PM User | #4
Dormilich
Senior Coder

 
Dormilich's Avatar
 
Join Date: Jan 2010
Location: Behind the Wall
Posts: 2,882
Thanks: 9
Thanked 291 Times in 287 Posts
Dormilich is on a distinguished road
on the other hand side, most POSIX systems (e.g. Linux) update PHP when a new version becomes available in their repositories.
__________________
please post your code wrapped in [CODE] [/CODE] tags
Dormilich is offline   Reply With Quote
Reply

Bookmarks

Tags
php, upgrade, windows

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:15 PM.


Advertisement
Log in to turn off these ads.