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
Required knowledge:
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
- Go to https://windows.php.net/download/
- You are looking for VS16 x64 Thread Safe (2024-Jun-04 19:11:24)
- 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:
- 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).