How to use PHP CLI Command Line & Built In Web Server

Поділитися
Вставка
  • Опубліковано 16 січ 2025

КОМЕНТАРІ • 8

  • @hahavibes24
    @hahavibes24 4 роки тому +2

    awesome tutorial ...)

  • @ashharkausar6921
    @ashharkausar6921 3 роки тому

    Ty for this

  • @michaelsteiner230
    @michaelsteiner230 2 роки тому +1

    I like the content here. Is there an updated version of this information as this is two years old. The terminal in VS no longer works, it keeps telling me that php is not a command or is not installed and I know it is. It will not connect to localhost and the only way to see this code in action is in my browser, I am fine with that. It just bugs me to see you using the terminal in VS and I have to use the browser window. I also have xaamp installed and running and still no luck. I will just push past the fact that I cant use VS terminal and move forward.

    • @PixemWeb
      @PixemWeb  2 роки тому +1

      What operating system are you using and how are you bringing in PHP? MAMP, XAMPP, or another solution? If on Windows, is PHP in your path? If on MacOS, what version are you using? Also, you might need to add PHP path to VSCode via the JSON file. Let me know a little more information and I’ll let you know how to resolve it.

    • @michaelsteiner230
      @michaelsteiner230 2 роки тому

      @@PixemWeb first off I am brand new at coding I only know a little html and css. To answer your question I am on Windows 11 and bringing in PHP using xampp . I think php is in my path, I am such a newbie here. How do I check to see if it is?

  • @TimeLords910
    @TimeLords910 3 роки тому

    hey there I have a question is php cli different from the programming language or are they the same thing

  • @ludo2604
    @ludo2604 3 роки тому

    i have mamp install but in my terminal php-cli is not recognize. i have this message error :
    zsh: command not found: php
    I do not how install, if you know ?