answersLogoWhite

0

There is no problems with running php from the command line be it unix or windows.

However the output of the command will be to stdout in the form of HTML text output.

This HTML output is infact what is displayed with formatting and graphics by a web browser.

In addition php run by the webbrowser and from the command line maybe at different user privileges and display differently.

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

How do you run a PHP file?

you need to be running a lamp / wamp server on your machine... point the browser to the file and it wll run. you can also use command line to run php scrips when you have lamp/wamp installed


How can you run PHP files?

Use the 'include()' in your pages. Eg. include(link.php); ?> Normally PHP files are meant to be run through a web server which serves on a browser. What is outputted is the HTML of the page along with any information that is generated by php depending on the code inside the page. If you would like to run the PHP code from the command line you can using the php executable. If you are on a windows machine you can do the following: c:\php>php c:\websites\webroot\filename.php This will output the HTML that the PHP generates after being parse by PHP. You can also do this on Linux as follows: $->php /path/to/file.php


How do you install run as command?

you cant!!


How data can be edited or deleted from database via php?

if you know SQL language, you can run any command by using PHP's mysql_query() function.


What is the way to use the run command line to open a command prompt?

run cmd.exe


What is the command to run windows explorer from the command line?

The command is: "start explorer.exe".


Vocabulary of a command line interface?

Go to command prompt and run "help" command..


How does PHP work?

PHP is a programming language that stands for PHP Hypetextual Processing (recursive acronym). Technically PHP is just a program that lives on your computer which interprets code and executes PHP statements line by line. The PHP interpreter will execute changes to your computer or run-time environment based on the low-level instructions that the programmer issues.


How do you use Task Manager to find the run-line command for many types of software?

How do you use Task Manager to find the run-line command for many types of softwar


You can still run MS-DOS line commands under Windows from what?

command-line Edit: Command Prompt is the correct name.


Where do you run the chkdskr command from?

It's "chkdsk /r" and you run it from a command line. The easiest way to do this is to click Start, Run, then type this command in exactly as it appears here without the quotes. Then hit ENTER.


Can you run PHP on Linux?

Yes. Many popular websites run PHP on Linux.