LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   How to Execute PHP Script? (https://www.linuxquestions.org/questions/linux-general-1/how-to-execute-php-script-329169/)

notooth 06-01-2005 08:23 AM

How to Execute PHP Script?
 
Can anyone tell me how to execute a PHP script in Linux command mode?

:newbie:

Cron 06-01-2005 08:28 AM

Install PHP, and in terminal prompt do
Code:

php /path/to/your/script.php
. :)

notooth 06-02-2005 05:43 AM

Thank you. It works.


All times are GMT -5. The time now is 06:18 PM.