English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

How can I run/compile a PHP script? *I know you can use the Command Line/DOS but how would I do that?

2007-02-03 04:06:43 · 4 answers · asked by Anonymous in Computers & Internet Programming & Design

4 answers

You need to install a command-line PHP interpreter. Then, you can run your script by typing something like this:

C:\PHP\cli\php.exe -f script.php

from the command line.

If you want to compile a PHP script, you need to get a PHP compiler. Here's a link to one:

http://www.roadsend.com/

__________

2007-02-04 11:23:03 · answer #1 · answered by NC 7 · 0 0

Php doesnt compile

2007-02-03 04:13:41 · answer #2 · answered by Anonymous · 0 0

What is your operating system of the computer you want to run it on?

You will want to review the php documentation, which you can find here: http://www.php.net/docs.php

You might find ActiveState interesting too.
http://www.activestate.com/solutions/php/

2007-02-03 04:16:55 · answer #3 · answered by MONIGARR 2 · 0 0

You need to create a web server on your computer or get a web server on the internet. Search for XAMPP on google for a simple installer.

2007-02-03 04:29:42 · answer #4 · answered by Wolf 2 · 0 0

fedest.com, questions and answers