Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: sam russo on September 29, 2001, 03:32:57 PM

Title: php for shell scripting
Post by: sam russo 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.
Title: Re: php for shell scripting
Post by: Dan Brown 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.
Title: Re: php for shell scripting
Post by: Noah Berlove on October 01, 2001, 10:03:28 AM
Actually, PHP is installed as a binary.  Just look in /usr/bin.

Noah
Title: Re: php for shell scripting
Post by: sam russo 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?