Windows cmd.exe not showing actual php version -


recently have installed xampp update version have php 5.6 version. in c drive have older version of xampp, renamed xampp_old. new xampp installation files in c:\xampp. when try php version cmd.exe php -v command show older php version (php 5.4.24).i have checked cmd uses c:\program files\iis express\php\v5.4\php.ini file. how can set new php.ini file cmd.exe c:\xampp\php

run php command in c:\xampp folder. if it's still showing old version, replace path in system environment variables.

  1. start -> type: edit system environment variables
  2. click environment variables (lower right corner)
  3. under system variables -> select , edit path
  4. replace old folder or add c:\xampp\php; in variable value field

Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -