search
HomeBackend DevelopmentPHP ProblemHow to solve the problem that cmd php is not an internal command

The solution to the problem that cmd php is not an internal command: first check the local PHP version; then copy the location link of phpStudy; then enter the "environment variables" in the computer; finally put the copied address link into the environment variable. Can.

How to solve the problem that cmd php is not an internal command

Recommended: "PHP Video Tutorial"

cmd command php is not an internal command phpStudy Solution

1. First open phpStudy to see your local PHP version

How to solve the problem that cmd php is not an internal command

2. Open the location of the current version in phpStudy and copy the link. For example, I Install on drive E E:\app\phpStudy\PHPTutorial\php\php-5.6.27-nts (just copy to the directory is enough) as shown in the figure:

How to solve the problem that cmd php is not an internal command

3 , The company computer is win7. Right-click My Computer--->Properties----> Advanced System Settings--->Environment Variables. Add the paragraph just now to the environment variables

How to solve the problem that cmd php is not an internal command

4. Okay, now open cmd and type php -v, it should work

5. I guess your next step is to type the following code

php think make:controller index/Stu

How to solve the problem that cmd php is not an internal command

Okay, bloggers are also learning thinkPhp. If you are self-study, you may have to go through the pitfalls I have stepped on,

The above is the detailed content of How to solve the problem that cmd php is not an internal command. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
cmd怎么查看局域网所有ipcmd怎么查看局域网所有ipFeb 20, 2023 pm 02:22 PM

cmd查看局域网所有ip的方法:1、按“Win+R”快捷键打开“运行”窗口;2、在“运行”窗口中输入“CMD”后,按回车键;3、在打开的“命令提示符”界面中,输入命令“arp -a”并按回车键;4、从返回结果就可以看到本地局域网中的所有与本机通信的计算机IP地址。

如何在没有Microsoft帐户的情况下从CMD获取BitLocker恢复密钥如何在没有Microsoft帐户的情况下从CMD获取BitLocker恢复密钥Feb 19, 2024 pm 09:00 PM

此指南将介绍如何获取BitLocker恢复密钥,以便在必要时恢复访问加密数据。BitLocker是Windows设备的安全功能,用于保护数据免受未经授权的访问。如果您无法通过常规方式访问数据,恢复密钥是一种备用方法。您可以在没有微软账户或通过CMD的情况下获取48位的BitLocker恢复密钥,从而确保您始终能够访问并恢复您的重要数据。如何在没有微软帐号的情况下从CMD获取BitLocker恢复密钥?请按照以下建议获取BitLocker恢复密钥:使用命令提示符单击开始,搜索cmd,然后单击以管理

CMD关闭端口命令CMD关闭端口命令Nov 21, 2023 am 09:45 AM

使用CMD关闭端口的命令:1、使用CMD关闭特定端口;2、使用CMD关闭所有开放端口;3、使用CMD打开特定端口;4、使用CMD打开所有开放端口。

php怎么把负数转为正整数php怎么把负数转为正整数Apr 19, 2022 pm 08:59 PM

php把负数转为正整数的方法:1、使用abs()函数将负数转为正数,使用intval()函数对正数取整,转为正整数,语法“intval(abs($number))”;2、利用“~”位运算符将负数取反加一,语法“~$number + 1”。

使用命令行打开任务管理器: 详细步骤使用命令行打开任务管理器: 详细步骤Dec 29, 2023 pm 10:59 PM

很多小伙伴在使用电脑的时候遇见某个软件卡住。电脑动不了的情况,这个时候就需要调出任务管理器来结束这个进程,那么如何用cmd打开任务管理器命令呢?,只要输入taskmgr后按回车即可,具体的解决方法下面一起来看看吧。用cmd打开任务管理器命令的步骤1、按住键盘上的Win+R键打开运行窗口,或点击左下角的“开始—运行”,在运行窗口中输入cmd,按Enter键打开cmd窗口。2、输入:C:\Windows\system32\taskmgr.exe,然后按Enter键,就能打开任务管理器了3、CMD打开

powershell和cmd的区别是什么powershell和cmd的区别是什么Jan 11, 2023 pm 02:23 PM

区别:1、运行Cmd时,只需占用不到1M的内存;而用PowerShell时,需要占用大约20M的内存。2、Cmd不支持语法高亮,PowerShell支持。3、用Cmd运行一些较为复杂、较为耗时的命令时,随意拖动命令行窗口时,窗口中的内容依然能够保持原样;但PowerShell不行。4、Cmd只能不能使用.net库中的命令,也不能使用Linux命令;而PowerShell可以。

命令提示行CMD关闭Bitlocker加密的方法命令提示行CMD关闭Bitlocker加密的方法Jun 19, 2024 am 11:33 AM

管理员命令提示行中输入以下命令关闭manage-bde-offC:但是有时候出现如下提示:错误一此卷存储可以对其他卷运行自动解锁的一个或多个外部密钥。必须首先删除此类密钥,才能解锁此卷。此时需要先执行如下命令:(系统分区不是C的话更改下面的盘符)manage-bde-autounlock-ClearAllKeysc:错误二由于卷已锁定,此操作无法执行。manage-bde-unlockc:-rp123456789012345678901234567890123456789012345678注意:

cmdtelnet命令不被识别为内部或外部命令cmdtelnet命令不被识别为内部或外部命令Jan 03, 2024 am 08:05 AM

cmd窗口中提示telnet不是内部或外部命令这个问题想必曾经也深深的困扰着你吧,这个问题的出现并不是因为用户们的操作哪里有什么不对用户们也不用太担心只需要一些小小的操作设置就可以让cmd窗口提示telnet不是内部或外部命令这个问题迎刃而解,一起来看看小编今天为大家带来的cmd窗口提示telnet不是内部或外部命令解决办法吧。cmd窗口提示telnet不是内部或外部命令解决办法:1、打开电脑的控制面板。2、找到程序和功能。3、找到左侧的启动或关闭Windows功能。4、找到“telnet客户端

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!