How can I execute a PHP script using command line?

Ads
 

How can I execute a PHP script using command line?

How can I execute a PHP script using command line?

View Answers

November 13, 2010 at 5:36 PM

Hi all,

By using CLI ( command line interface)

On command prompt type : php filename

for example: php helloworld.php

Thanks

Ads









Related Tutorials/Questions & Answers:
execute a PHP script using command line
can i Execute PHP code inside python script?
Advertisements
How to run PHP Script from the command line ?
How can I generate diff image using Jmagick?
how can i achieve multiple inheritance in java without using inheritance ?
How i can send testing mail on my id using java?
How to Increase Script Execution Time Limit in php ?
How can I paginate a table which has shown in a div through Ajax in client side without using database
How I can filling pdf file that crated by livecycle using itext
how can i prevent duplicate records using servlets and MVC model?
how to execute a unix shell script from a java program
How can I access databse through JSP. I am using postgresql-8.4.4-1-windows as database and jboss-4.0.5.GA as server.
how to create a php script to download file
Unable to send mail using php script
How can I do it? .click();
User Registration Form Using JSP(JspBeans) after that how i can insert in database
How to Create Instance using PHP
How to Check Markup in PHP File from Command Line
how to connect SQL Server 2005 using php
How to Checking Syntax Error in PHP from Command Line
how i can get jqfade.js library
How to Using timezone_location_get() PHP
How can i Change Button Label Value Randomly in VIRTUAL KEYBOARD using JAVA or Net Beans ???
How can i Change Button Label Value Randomly in VIRTUAL KEYBOARD using JAVA or Net Beans ???
How can java programs execute automatically when it connects to network
How can I learn Java?
how should i can solve
how to create a php script to download file from database mysql
how to create a php script to download file from database mysql
How to populate text fields using php code?
ModuleNotFoundError: No module named 'linen'

Ads