[Cialug] Any PHP folks around?

David Champion dchamp1337 at gmail.com
Sun Jan 19 12:42:50 CST 2014


There's usually a package like php-cli or php5-cli you need to install.

When I've done php cli scripts, I was able to create a header include file
that took care of faking the env variables, so I could re-use all of my web
code if needed.

-dc


On Sun, Jan 19, 2014 at 12:39 PM, L. V. Lammert <lvl at omnitec.net> wrote:

> Trying to setup a machine as a web server backup, ... but there is a
> custom pup module on the web server that I need to use on the backup.
>
> Need to run a short php script from the command line as a test, so I have
> been converting to run without Apache (faking environment variables,
> etc.).
>
> Did find the .so and copied to /usr/lib64/php/modules on the backup
> machine, but I cannot figure out how to add it to the cli?
>
>         TIA!!
>
>         Lee
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
>


More information about the Cialug mailing list