Saturday, January 28, 2017

How to upgrade php version in xampp in Window OS

Tags




Hi guys, I'm back! Today I will show you guys how to renew your php version in xampp. Note that this is only applicable on window as there might be slight different of steps in other OS. As a programmer, it good for you to keep yourselves using the latest version of PHP as ton of improvement have been done on it.

Step 1 : Go to this website php and download latest php version.

*Note that  you should choose based on you Window version
VC14 x86 Thread Safe or VC14 x64 Thread Safe ( x86 for 32-bit and x64 for 64-bit )


Step 2 : Rename you old php folder to php_old and create a new folder called php. After that, paste the php that you just downloaded into the newly created php folder.


Step 3 : Navigate to xampp-control and click on Config -> Apache (httpd-xampp.config)

Change this :
LoadFile "C:/xampp/Web/php/php5ts.dll"
LoadModule php5_module "C:/xampp/Web/php/php5apache2_4.dll"

To this : 
LoadFile "C:/xampp/Web/php/php7ts.dll"
LoadModule php7_module "C:/xampp/Web/php/php7apache2_4.dll"


Step 4 : Open your phpinfo file and you should have the latest php version.

If you don't know how to create phpinfo file, this tutorial will help you. How to create phpinfo?


If you are facing any problem on this, don't hesitate to message at Obstrum facebook page.

Hope this tutorial will help those in need.

If you want to get in touch with more tutorial, add me on google+ or like and follow our facebook page for more! Obstrum Facebook Page




EmoticonEmoticon