NYCPHP Meetup

NYPHP.org

[nycphp-talk] suppress errors in command line script

Brian Kaney brian at vermonster.com
Fri Nov 19 09:37:18 EST 2004


On Fri, 2004-11-19 at 09:10, Mitch Pirtle wrote:
> On Fri, 19 Nov 2004 03:26:34 -0500, Marc Antony Vose
> <suzerain at suzerain.com> wrote:
> > anyone know how i can get rid of this temporarily, short of
> > installing these Postgresql libraries?
> 
> If you have access to php.ini, just coment the lines that load that
> extension and restart apache.
> 

Strictly for the CLI you shouldn't need to restart apache.


You can also try the -c argument and point to a different configuration
file.

   /usr/bin/php -c ./my_php.ini


- Brian




More information about the talk mailing list