Blindacme the version apache use is different from the version you use on a terminal or powershell box.
Your version:
PHP 5.6.30 (cli) (built: Feb 7 2017 16:06:52)
You see (cli)? This means Command Line Interface. Normally it should be the same version as the version apache use.
Maybe you have a native installation on your machine before you installed ampps? Like Mac comes with an apche installation. This can explain this situation.
I would advise to clean up because it can make you a lot of problems later.
Clean up means: yeah uninstall ampps. check for local apache installations, clean that up too (delete or uninstall, depends on the operating system) and then if you are sure there is no php, apache etc on you machine, install ampps again.
Please think of an backup of your development data.
|