Skip to main content

Upgrading your PHP version

There are two ways to do this. I'll list out both in this post.

1. Backing Up and upgrading

Take a backup of your htdocs and data folder (subfolder of mysql folder), reinstall upgrade version and replace those folders.

2. Overwriting the new version

Inspired by YAIG(Yet Another IT Guy)'s blog, Here is the how-to version

Warning: Do this at your own risk
  1. Download the latest version of PHP (zip package not the installer)
  2. De-archive it to a directory
  3. Copy the contents of the directory in the PHP sub-folder of your XAMPP installation directory, overwriting the files which are already present
  4. Now a simple trick: take the files which have a _2 in their names (for example php5apache2_2.dll), copy them in the apache\bin subdirectory and remove the _2 part, overwriting the existing files.

Comments

Popular posts from this blog

Some Basic Questions and answers on Operating System Concepts

1.        What are the three main purposes of an operating system? To provide an environment for a computer user to execute programs on computer hardware in a convenient and efficient manner. To allocate the separate resources of the computer as needed to solve the problem given. The allocation process should be as fair and efficient as possible. As a control program it serves two major functions: (1)    supervision of the execution of user programs to prevent errors and improper use of the computer, and (2)    Management of the operation and control of I/O devices. 2.       Keeping in mind the various definitions of operating system, consider whether the operating system should include applications such as web browsers and mail programs. Argue both that it should and that it should not, and support your answers. Point: Applications such as web browsers and email tools are performing an...

TrashCoders

As I'm forming a Club "TrashCoders" after our Summer Holidays (May 2nd week), and going to share the knowledge I have, I created a new blog to upload all of the works we do in the Club. Hope you guys have some ideas and/or tips. Trash Coders  Happy Holidays..

Play Fair Cipher (Version 2-with some corrections)

In my last post, I attached a file ( PlayFairCipher.java ) as my Play Fair Cipher Crypto System. But, I found out that it has an error when converting single row or column-wise words (E.g. WORD, PICO). Hence, I re-edited the file and my second version of it. Now it was working as expected. File : PlayFairCipherv2.java Comments are welcome.