7
Contributors
10
Replies
62
Views
4 Years
Discussion Span
Last Post by NardCake
0

He (she) said command line so I would assume he's talking about Windows...

Edited by NardCake

1

For Windows:
Open Cmd
set a path using:-
set PATH = %PATH%;c:\xampp\php //temporary setting a path
OR
Control Panel > System > Advanced System Settings > Environment Variables > look for and highlight the Path variable and click Edit.Append the PHP folder path //permanent setting a path

After setting a path run your code using:-
script-folder> php your-script-name.php

Edited by code_rum

0

but of course Linux too has commandline. Unless my brain is playing tricks on me!!

When mentioning linux, he would probably have named it "shell" instead.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.