how to run PHP in command line?

Answer Posted / sean owens

you may need to know the version you need to run of php.
Usually in /usr/bin/php4 /usr/bin/php5 /usr/bin/php

Is This Answer Correct ?    12 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we encrypt the password using php?

560


What type of headers that PHP supports?

631


Can you convert php to html?

539


What is the role of php.ini file?

561


Why php is sometimes called as embedded scripting language?

497






What is polymorphism in php?

516


What are regular expressions in programming?

510


Is php is dying?

512


What is difference between required and require_once in php?

550


In PHP, fgets() is used to read a file one line at a time. State Whether True or False?

589


Which escape sequences can be used in single quoted strings in php?

535


How can image properties be retrieved in php?

549


Why json is used in php?

550


What is the difference between single-quoted and double-quoted strings in php?

554


What is beforeRender() used?

641