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.
- start -> type: edit system environment variables
- click environment variables (lower right corner)
- under system variables -> select , edit path
- replace old folder or add c:\xampp\php; in variable value field
Comments
Post a Comment