use a specific php.ini for php cli

Nicolas Letellier nicolas at nicoelro.net
Wed Jun 4 12:20:09 UTC 2008


Hello.

I would like to know if it is possible to have another php.ini for php
command line? I have a php.ini with many restrictions (open_basedir,
disabled functions, etc...) used by apache (and mod_php).

I would like to user another php.ini file for php command line (I don't
want to have disabled functions or safe_mode for command line php).

I use php5 in the port tree.

Thanks for your informations.

-- 
 - Nicolas.


More information about the freebsd-questions mailing list