Skip to main content

Posts

Showing posts from February, 2019

How To Update PHP In XAMPP

 downloaded the version of PHP that I wanted (7.1.17) and then I strategically replaced the one I had in XAMPP with it. Here are the steps I followed. Download your desired PHP binary from  here . Make sure you download the same build type as your current version. If you don’t know what this is, go ahead and download an  x86 Thread Safe  version since most XAMPP installations have that build. In my case, I downloaded the 7.1.17 VC14 x86 Thread Safe  build. Extract the contents of the Zip file. Create a backup of your current  xampp/php  folder. I called mine php-backup7.1.2 Still inside /xampp, create a new php folder, then copy the contents of the extracted zip file into it. If you have custom configurations in the php.ini file, copy and replace it from your old php folder to the new one. If you didn’t previoisly edit the your php.ini, then skip this step. In my case I had previously installed drivers for sql server and defined them in my php....

How to change Apache default port in XAMPP?

 Please follow the following steps Inside the  httpd.conf  file, find line that says Listen 80 => Listen 8080 ServerName localhost:80 => ServerName localhost:8080 Next step, still from XAMPP Control Panel, under Apache, click the  Config  button again, but this time select the  Apache (httpd-ssl.conf) . Inside the  httpd-ssl.conf  file, find line that says  Listen 443 => Listen 4433 <VirtualHost _default_:443> => <VirtualHost _default_:4433> ServerName localhost:443 => ServerName localhost:4433 Orignial Link Also to add virtual host goto E:\xampp\apache\conf\extra\httpd-vhosts.conf and add virtual hos C:\Windows\System32\drivers\etc\hosts also add host name

ng is not recognized as an internal or external command

Add these environment variable original link

Javascript Arrow function

For Detail visit https://www.sitepoint.com/es6-arrow-functions-new-fat-concise-syntax-javascript/ Arrow functions – also called “fat arrow” functions, from CoffeeScript ( a transcompiled language ) — are a more concise syntax for writing function expressions. They utilize a new token,  = > , that looks like a fat arrow. Arrow functions are anonymous and change the way  this  binds in functions. Arrow functions make our code more concise, and simplify function scoping and the  this  keyword. They are one-line mini functions which work much like  Lambdas in other languages like C#  or  Python . (See also  lambdas in JavaScript ). By using arrow functions, we avoid having to type the  function  keyword,  return  keyword (it’s implicit in arrow functions), and curly brackets.