Koozali.org: home of the SME Server

php for shell scripting

sam russo

php for shell scripting
« on: September 29, 2001, 03:32:57 PM »
Does anyone know how you use php for shell scripting-like perl is?
Is this service installed in a 4.12 installation.?
Any direction as to how I can get this working would be appreciated.

Dan Brown

Re: php for shell scripting
« Reply #1 on: September 29, 2001, 04:37:23 PM »
PHP is not installed as a stand-alone binary, but only as an Apache module.  If you go to the site mentioned in my PHP upgrade howto, you can download the stand-alone binary as well as the other packages.

Noah Berlove

Re: php for shell scripting
« Reply #2 on: October 01, 2001, 10:03:28 AM »
Actually, PHP is installed as a binary.  Just look in /usr/bin.

Noah

sam russo

Re: php for shell scripting
« Reply #3 on: October 03, 2001, 04:42:27 PM »
I'm fairly confident with using php/mysql from web pages.- But how do you use php from the binary? Is it like using perl scripts. ie by pointing to the php binary in the first line?