Edin Kadribasic wrote: > That's ok. Calling function to set it should still work though. > We should really get started on the <IfModule ..> > thing for php.ini.
Actually, no. A SAPI version of PHP should get configuration values the way a webserver does. It is running in the context of a webserver and should be handling things as webbish as they come. A CLI version of PHP is a kind of scripting shell at the same level as awk, perl and other scripting languages are. It should not behave webbish at all, but shelly instead. It should not output a content type by default (automatic -q option), it should read /etc/php.ini and $HOME/.php.ini. Please get this right the first time you do it. Kristian -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php