How to run a php script from Terminal

Forum thread started by Texcor on Fri, 2012-01-20 16:37

Hey there,

I'm new to this operating system which we will use sooner or later for our radio automation system.
I have a php script that takes the current song info and sends it to our streaming provider.

How can I run t this script under Haiku? I've come across is: http://araneum.koppin22.com/doc-haiku-inst.html

I guess that's a requirement in order to run a php script right? But how can I run is script from a terminal window though?

Thanks in advance guys

Texcor

Comments

Re: How to run a php script from Terminal

to run a php script fro the Terminal:

1) Install php http://dl.koppin22.com/php-5.3.5-haiku.zip

2) type:

php scriptname

Where scriptname is the name you gave your php script.