[PHP] differences between ini_set() with php cgi and module?

2002-01-17 Thread GK
First of all, does php cgi use php.ini at all? Is it the exact same behavior as the module version in realtion to php.ini settings and the ability to change them with ini_set()? My ISP runs php as a cgi, version He tells me that I cannot change php.ini variable, upload_max_filesize to larger

[PHP] how to apply php patch file: 4.2.1 - 4.2.2

2002-07-30 Thread gk
I couldn't find any adequate instructions on this anywhere on this list or on the php web site so here is for anyone who needs it. I had originally tried: patch patchfile but that doesn't work, even though file names don't require any stripping with -p option, it is still required: -p0 My php

[PHP] programatically determining path to php.ini ?

2005-06-29 Thread gk
I have not been able to find any way of determining the path to the current php.ini file, programatically, from within a running script. The only hack I can think of is to parse the ouput of phpinfo(). Any ideas? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] programatically determining path to php.ini ?

2005-06-29 Thread gk
I think this is a better solution than parsing phpinfo() output: realpath( get_cfg_var ( cfg_file_path )); - Greg On Wed, 29 Jun 2005 10:51:27 -0700, Greg Donald [EMAIL PROTECTED] wrote: On 6/29/05, gk [EMAIL PROTECTED] wrote: I have not been able to find any way of determining the path