How can I execute a PHP script using command line?
example plzz ..

Recommended Answers

All 2 Replies

php <filename> Example: php somefile.php Did you even try to find the answer yourself?

i didn't try. but, i thought that , is it possible or not ?

anyway , thankyou.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.