Answers for "running php with cmd"

PHP
0

start server cmd php

php -S localhost:8000
Posted by: Guest on January-15-2021
-1

execute php file from command line

php -f /path/to/your/file.php
Posted by: Guest on October-02-2020
0

php run command terminal

php -r "Print \"Hello, World!\";"
Posted by: Guest on February-10-2021

Browse Popular Code Answers by Language