0

I installed one Xampp with Php5 version and other xmapp with php7 version in different folders, but db is same for both xmapps. When I run the

php -v

in command prompt in both folders, it only show as php version as 5. How to fix it?

Thanks in advance.

Al Foиce ѫ
  • 4,195
  • 12
  • 39
  • 49

1 Answers1

0

Changed the environment value in system for php.exe (set the php7 path to env). eg:

Old path: D:xmapp/php/php.exe

new path: D:xmapp7/php/php.exe