I am busy maintaining my dev box and upgrading all the software necessary for all the “fun stuff”. Part of this process is upgrading from PHP Version 8.2.4 to Version 8.3.8

In this tutorial:
  1. Setup
  2. Download
  3. Install
  4. Configure

1. Setup

My dev box is a fairly straightforward WAMP setup. I recently (11 June 2024) upgraded my stack and part of that update was upgrading from PHP Version 8.2.4 to PHP Version 8.3.8.

2. Download

  1. Go to https://windows.php.net/download/
  2. You are looking for VS16 x64 Thread Safe (2024-Jun-04 19:11:24)
  3. Download php-8.3.8-Win32-vs16-x64.zip

3. Install

  • Rename your existing C:\php directory. I renamed mine to php824 to match the old version number.
  • Extract the contents of the downloaded ZIP into a new C:\php directory.
  • Restart Apache

4. Configure

It is now possible to open the php.ini from the old version and the php.ini from the new version and make the required config changes in the new version to match the old version.

Find and uncomment the entries for the extension_dir (directory in which extensions are available) and the mysqli extension :

extension_dir = "ext"
extension=mysqli

Restart Apache.


References:

  1. Apache Lounge. (no date) Apache 2 Server on Windows for (business) webmasters, developers, home users and programmers. Available at: https://www.apachelounge.com/ (Accessed: 10 June 2024).

By MisterFoxOnline

Mister Fox AKA @MisterFoxOnline is an ICT, IT and CAT Teacher who has just finished training as a Young Engineers instructor. He has a passion for technology and loves to find solutions to problems using the skills he has learned in the course of his IT career.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.