ID:               21783
 Updated by:       [EMAIL PROTECTED]
 Reported By:      danielc at analysisandsolutions dot com
-Status:           Open
+Status:           Closed
 Bug Type:         Documentation problem
 Operating System: Any
 PHP Version:      4.3.0
 New Comment:

This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation
better.

"If php-SAPI.ini exists (where SAPI is used SAPI, so the filename is
e.g. php-cli.ini or php-apache.ini), it's used instead of &php.ini;."

I added also cross-reference to features.commandline.


Previous Comments:
------------------------------------------------------------------------

[2003-07-15 08:11:14] phyre at rogers dot com

I note that there are different files (php-cli.ini) which isn't
documented as far as I can tell.  That's for that pointer folks.

  However, I believe that different directories are also quite
important.  Apache php.ini goes with apache config.  CLI should go in
/etc.  Thoughts?

------------------------------------------------------------------------

[2003-02-02 06:44:17] [EMAIL PROTECTED]

Information found in bug #22001 should be included when this bug report
is dealt with:

    http://bugs.php.net/22001

Pretty interesting stuff.

------------------------------------------------------------------------

[2003-01-20 21:25:40] danielc at analysisandsolutions dot com

The text I'd suggest is something along these lines.  I don't know the
complete inner workings of PHP, so tweak it to reflect reality.

On Unix systems, PHP uses the php.ini file specified when PHP was
compiled. On Windows systems, PHP uses the php.ini from the same
directory as the php.exe file you execute. This behavior can be
modified by using the -c switch or by setting the PHPRC environment
variable. See the <a href="configuration.php">Configuration</a> page
for more information.

Thanks,

--Dan

------------------------------------------------------------------------

[2003-01-20 21:05:31] [EMAIL PROTECTED]

On a related note, I heard rumors that as of 4.3.0 ini files such as
php-cli.ini and php-cgi.ini are looked for first, is this true?  If not
found, php.ini is looked for.

------------------------------------------------------------------------

[2003-01-20 20:52:26] [EMAIL PROTECTED]

Point taken :)

A cross reference to the info about the location of php.ini file
(/manual/en/configuration.php#configuration.file) should be inserted on
features.commandline page.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/21783

-- 
Edit this bug report at http://bugs.php.net/?id=21783&edit=1

Reply via email to