Solved

XAMPP Lite & Upgrading PHP

Posted on 2010-08-19
4
768 Views
Last Modified: 2013-12-13
I have an Apache web server running Apache 2.2.12 with PHP 5.3.0 + PEAR that was installed from the XAMPP Lite (Basis Package) version 1.7.2 by a hired gun. Recently my system admin informed me that this version of PHP has some security weaknesses and advised I should upgrade the PHP to a more secure version. Since the person who installed this server is long gone, I need to do this upgrade myself and am hoping I can manage that with advice from those here who know Apache and PHP. So far, it seems likely that one can upgrade the PHP independently, but I don't want to lose the web server as a result of this upgrade and hope someone here could guide me as to the steps to follow. If this is an unreasonable request, perhaps someone out there could give me a link where I could self-educate to the point where I could figure out the steps myself? All help is most appreciated.
potterjazz
0
Comment
Question by:Potterjazz
  • 3
4 Comments
 
LVL 82

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 33482311
There is an upgrade package available but it upgrades the entire installation.  They strongly recommend that you backup everything before using it.
http://www.apachefriends.org/en/xampp-windows.html

Upgrading only PHP from a standard PHP package may not work.  XAMPP typically is installed in it's own directories that are different from what a plain PHP installation usually uses.  The ini files are also in a different location.  And there are registry entries for the installations.
0
 
LVL 82

Expert Comment

by:Dave Baldwin
ID: 33482348
And there is no upgrade package for the XAMPP Lite version.  Also make sure you backup your MYSQL databases before you start.
0
 

Author Closing Comment

by:Potterjazz
ID: 33488981
Thanks for the help Dave I am loathe to have this server collapse in an effort to make it slightly more secure, and notice that the new version of XAMPP Lite has a PHP version that is only one version newer. Since my sysadmin isn't *requiring* me to make this change, I'm going to leave well enough alone for now and when I do upgrade, do so for the more robust, non-Lite version and have an expert do it for me.
0
 
LVL 82

Expert Comment

by:Dave Baldwin
ID: 33489120
I think that's a good plan.  Backing up is still a good plan...
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now