Tuesday 25 October 2011

How to upgrade PHP version in XAMPP


Having been unable to find a definitive guide to upgrading the XAMPP PHP version to PHP 5.3.0rc2, I decided to improvise on a guide for installing the PHP 5.3 alpha.
My guide will describe how to upgrade the current XAMPP PHP version to the second release candidate of version 5.3. It is expected that this method will also work for the third release candidate when it is released later this month.

Step 1: Make backups
Before starting, make sure to backup any settings, custom modules and most importantly the htdocs directory, which contains your scripts and page resources. This directory is normally located atC:\xampp\htdocs\
Step 2: Preparation
  1. Download PHP 5.3.0rc2. I use the VC6 build in order to minimise any potential compatibility issues.
  2. It is also recommended that you download the latest Windows version of XAMPP. While this is an upgrade guide that shouldwork with previous versions of XAMPP, it is recommended that a fresh copy of the core files is used.
  3. Stop any instances of the Apache service that might be running.
Step 3: The upgrade
This guide will assume your XAMPP directory is C:\xampp\
  1. Extract the XAMPP archive to a directory of your choosing, I would recommend using the default C:\xampp\
  2. Extract the contents of the PHP archive to C:\xampp\php\, overwriting the contents of this directory with the new files.
  3. Open the file C:\xampp\apache\conf\extra\httpd-xampp.conf and ensure the following lines are present in this order:
    LoadFile "/xampp/php/php5ts.dll"
    LoadModule php5_module "/xampp/apache/bin/php5apache2_2.dll"
  4. Replace C:\xampp\php\php.ini with C:\xampp\php\php.ini-dist
    Uncomment the lines:
    ;extension=php_mbstring.dll
    ;extension=php_pdo_sqlite.dll
    Replace the line
    magic_quotes_gpc = On
    with
    magic_quotes_gpc = Off
  5. Copy all files in the C:\xampp\php\ to C:\xampp\apache\bin\ (do not copy the subdirectories or their contents).
After following the above steps, restart your Apache service (this can be done using C:\xampp\xampp-control.exe or manually through the control panel/command prompt). Your PHPinfo should indicate that the upgrade has been successful.
I will update this post if I discover any problems from using this method, or a cleaner (automated) means of performing the upgrade.

43 comments:

  1. Appreciation for really being thoughtful and also for deciding on certain marvelous guides most people really want to be aware of. block chain training in Chennai

    ReplyDelete
  2. It is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful to me...
    Sap BW on Hana Self Placed Training

    Sap QM Self Placed Training

    ReplyDelete
  3. After seeing your article I want to say that the presentation is very good and also a well-written article with some very good information which is very useful for the readers....thanks for sharing it and do share more posts like this.
    Oracle BPM Training

    Oracle SCM Training


    ReplyDelete
  4. All are saying the same thing repeatedly, but in your blog I had a chance to get some useful and unique information, I love your writing style very much, I would like to suggest your blog in my dude circle, so keep on updates.
    Selenium training in Chennai
    Selenium Courses in Chennai
    best ios training in chennai
    Digital Marketing Training in Chennai
    java coaching in chennai
    JAVA Training in Chennai
    JAVA Course in Chennai

    ReplyDelete
  5. Thanks a lot for sharing us about this update. Hope you will not get tired on making posts as informative as this

    smart-writing
    Education

    ReplyDelete
  6. This is really too useful and have more ideas and keep sharing many techniques. Eagerly waiting for your new blog keep doing more.
    cloud computing courses in bangalore
    cloud computing training in bangalore
    Aws Training in Bangalore
    Aws Course in Bangalore

    ReplyDelete
  7. Amazing information,thank you for your ideas.after along time i have studied an interesting information's.we need more updates in your blog.
    Salesforce Training courses near me
    Salesforce Training in chennai
    Salesforce Training in Amjikarai
    Salesforce Training Institutes in Vadapalani

    ReplyDelete
  8. Wonderful post..Thank you for updating such a informative content..
    Regards,
    PHP Course in Chennai

    ReplyDelete
  9. Would you suggest starting with a free platform like Word Press or go for a paid option? There are so many choices out there that I’m completely confused. Any suggestions?
    industrial safety course in chennai

    ReplyDelete
  10. Well! If you’re not able to customize employee payroll in Quickbooks while making the list optimally, in QB and QB desktop, then see the QuickBooks Payroll Support Phone Number Here, you receive the determination of numerous variety

    ReplyDelete
  11. We shall help all of the folks. What business have you been having? Would it be raw material business? Could you deal with retail trade? QuickBooks Tech Support deal with your variety of revenue. Sometimes you don't forecast the precise budget.

    ReplyDelete
  12. What’re basic reasons behind corruption of QuickBooks Company Data file? Prior to trying to fix it, the following logical step you need to perform should be to investigate the complexities behind such corruption. Only then, you will mend the problem confidently. Let’s have an instant feel probably the most frequent causes of data issues in QuickBooks Support Number

    ReplyDelete
  13. Accountant: If you handle accounts department of assorted companies or institutes etc. then this industry version is of great use.
    Non-Profit: Running a non-profit organisation could be a troublesome task or even monitored properly. QuickBooks Enterprise Support Number is tremendous specially considering that it can help you track all the data, amount etc. of donors, funds and so on and so on.

    ReplyDelete
  14. Dial QuickBooks Payroll tech support number to ask for QuickBooks enhanced payroll support to solve payroll issues. We work for startups to small-scale, medium-sized to multinational companies. At AccountWizy, you will find well-qualified and trained accountants, Proadvisors who is able to handle such errors. QuickBooks Payroll Support Number is an easy method of contacting us for Intuit product and QuickBooks Payroll subscription.

    ReplyDelete
  15. The certified professionals would be best and well experienced and always available 24/7 to provide services on-time or before time. So if you wish to contact the group then easily dial our toll-free wide range of QuickBooks Technical Support Phone Number and obtain one stop solution for all your problems and create your business.

    ReplyDelete
  16. once you feel something went wrong together with your accounting software and may not discover a way out, you may get tech support team from our experts’ team, day time and night to fix any issues with respect to QuickBooks Support Number.

    ReplyDelete
  17. Here we will update you how you can obtain QuickBooks Enterprise Tech Support Number or simple suggestions to connect QuickBooks enterprise customer support contact number. QuickBooks is financial software that can help small company, large business along with home users. This software program is likely to make life easy for all if you are taking proper care of most financial expenses and savings. The first Quicken software did not work as a “double-entry” accounting platform. The first launch of QuickBooks was the DOS version that has been constructed from the Quicken codebase. The Windows and Mac versions united another type of codebase that has been founded on In-House Accountant, which Intuit had developed. The program was standard among small businesses who had no official accounting training. As a result, the software soon demanded up to 85 percent share from the small enterprise accounting software market. It endures to command the vast mainstream associated with market. Professional accountants, though, are not pleased with early versions when it comes to system, citing reduced security controls, such as for example no audit trail, as well as non-conformity with outdated accounting standards.

    ReplyDelete
  18. Any QuickBooks Technical Support Phone Number faces any type of identified errors in their daily accounting routine; these errors can vary from 1 another to a large degree, so our dedicated QuickBooks Customer Service Pro-Advisors are very well built with their tools and expertise to present most effective resolutions right away to the customers.

    ReplyDelete
  19. Accountant: in the event that you handle accounts department of assorted companies or institutes etc. then QuickBooks Enterprise Technical Support industry version is of great use.
    Non-Profit: Running a non-profit organisation may also be a troublesome task as well as monitored properly.

    ReplyDelete
  20. At QuickBooks Support contact number, you will discover solution every single issue that bothers your projects and creates hindrance in running your company smoothly. Our team is oftentimes prepared to permit you to while using the best QuickBooks Support Phone Number services you could feasibly ever experience.

    ReplyDelete
  21. And QuickBooks Support Phone Number expert team gave complete focus on improving the great and existing features so the overall workflow and functionality of your business can easily be updated and improved.

    ReplyDelete
  22. Dial Intuit QuickBooks Support to deal this kind of situation which requires top end Data services and data recovery tools with expertise to identify the difficulties. Dial QuickBooks Helpline and get your Company file data related issues resolved from highly experienced certified Pro-Advisors.

    ReplyDelete
  23. Revenue With QuickBooks Tech Support Number Every business wishes to have revenues on a regular basis. But, not all of you'll be capable. Are you aware why? It really is because of not enough support service.

    ReplyDelete
  24. QuickBooks Support Number may be the biggest selling desktop and online software around the world. The application has transformed and helped small & medium sized companies in lots of ways and managed their business successfully. The smart accounting software program is richly featured with productive functionalities that save time and accuracy associated with work.

    ReplyDelete
  25. for starters, a small business can simply survive if it is making adequate profits to smoothly run the operations associated with the work. Our QuickBooks Support Phone Number team will certainly show you in telling you about the profit projections in QuickBooks.

    ReplyDelete
  26. In today’s scenario individuals have got really busy inside their lives and work. They want to grow and learn as many new things as they possibly can. This drive has initiated a feeling of awareness amongst individuals and thus they find approaches to invent alternatives for daily tasks. If you are a small business owner, you need to be aware of the fact that Payroll calculation does demands large amount of time and man force. Then came into existence QuickBooks Payroll and QuickBooks Support Phone Number team.

    ReplyDelete
  27. QuickBooks Tech Support Number is built to solve the problems of small and enterprise business owners. There are a large number of QB users around the world. Let us know if you are looking for QuickBooks technical support. Speaking with a certified QuickBooks expert can help you to save time and money. Give us a call on our QuickBooks Support Phone Number and we will be more than happy to help you with your issues, queries and questions related with QuickBooks.

    ReplyDelete
  28. Collaborate with colleagues:- QuickBooks Payroll Support Phone Number’ cloud-based software allows your bookkeeper, accountant, or colleagues, to log in simultaneously and work directly with your data online.

    ReplyDelete

  29. As well as with this particular, our QuickBooks Tech Support Phone Number team has much knowledge and information regarding QuickBooks tools such as QuickBooks database server manager and so many more.

    ReplyDelete
  30. QuickBooks Enterprise is a high-functioning software designed specifically towards large organizations. It has multiple advanced features to help out accounting and bookkeeping professionals. If you would like to learn How To Resolve Quickbooks Error 9999, you can continue reading this blog.

    ReplyDelete
  31. I really enjoy simply reading all of your weblogs. Simply wanted to inform you that you have people like me who appreciate your work. Definitely a great post.
    AWS training in chennai | AWS training in anna nagar | AWS training in omr | AWS training in porur | AWS training in tambaram | AWS training in velachery

    ReplyDelete
  32. For this very reason, hiring the services of a good payroll company is very crucial to all contractors and subcontractor working on different types of construction industry. Get more information about payroll company click here now.

    ReplyDelete
  33. These services can provide you with the resources you need to manage your business efficiently. You can expect reliable, accurate and timely reports that will help you manage your finances and keep your employees happy. Click here to get more information about eebs.

    ReplyDelete