avatar
Install PHP on Windows PHP

First and foremost, visit the URL to download PHP, especially if you are using a Windows operating system.

After successfully downloading the file, extract the ZIP archive. Next, rename php.ini-production to php.ini as outlined below:

Next, copy all the files and folders into a directory such as C:\xampp\php (you can reuse this location if you have previously installed XAMPP).

Proceed to modify the php.ini file at a specified location and unlock all necessary DLL extensions for PHP to prevent unnecessary errors.

...
extension=curl
extension=ffi
extension=ftp
extension=fileinfo
extension=gd
extension=gettext
extension=gmp
...
; Windows: "\path1;\path2"
include_path = "c:\xampp\php\includes"

; On windows:
extension_dir = "c:\xampp\php\ext"


24
switch php versions on Ubuntu extract values from an array based on IDs in PHP check the PHP version of the root installation on Windows
You need to login to do this manipulation!