PHP Version Upgrade on Windows Wamp Server
This is a common issue of all developers upgrading PHP versions for windows users. So, I am going to show you some easy steps to upgrade your PHP version.
Step 1:
You should download the latest PHP version from https://www.php.net/releases/index.php.
Step 2:
Extract the download file on this directory C:\wamp64\bin\php\. And rename it like php7.4.9.
Step 3:
Now copy the php.ini and wampserver.conf from your existing PHP version to paste your new version directory.
Step 4:
Find extension_dir from your php.ini file and change it like ; extension_dir = "c://wamp64/bin/php/php7.4.9/txt".
Step 5:
Now modify wampserver.conf file
From
$phpConf['apache']['2.2']['LoadModuleName'] = 'php5_module'; $phpConf['apache']['2.2']['LoadModuleFile'] = 'php5apache2_2.dll';
To
$phpConf['apache']['2.4']['LoadModuleName'] = 'php7_module'; $phpConf['apache']['2.4']['LoadModuleFile'] = 'php7apache2_4.dll';
Step 6:
Open Control Panel -> Advanced and System Settings -> Environment Variables -> System Variables -> Path -> Edit
Then add the PHP new version directory like this C:\wamp64\bin\php\php7.2.10.
Step 7:
Restart your system and check your system PHP version upgraded as you want.
Conclusion:
We at Bluehorse Software can upgrade the PHP versions for any system.
Comments