search

Home  >  Q&A  >  body text

When adding sublime3 to compile system php, use the PHP toolbox, cmd php -v is useless

Added the system variable Path according to other people's tutorials: D:\myphp_www\PHPTutorial\php\php-5.6.27-nts

Use cmd to test php -v. It prompts that php is not an internal or external command. Nor is it a runnable program.

That is to say, the above addition has no effect. If you use cmd to execute php-win.exe under php-5.6.27-nts. Then test php -v, you can output the php version content, but Testing php -v in a newly opened cmd is useless.

How to break it?

phpcn_u8340phpcn_u83402700 days ago1490

reply all(1)I'll reply

  • phpcn_u8340

    phpcn_u83402017-07-04 07:51:24

    Done, add Path to user variables

    reply
    1
  • Cancelreply