Aktualne wątki na forum
Proponuje sciagnac u kolegi i wypalic na plycie obraz z programem antywirusowym, np. Kaspersky Rescue Disk...
Router nie powinien powodowac takich rzeczy. Jestes pewny, ze to nie wina serwerow skad pobierasz dane ? Czy jest tak w konkretnym programie, np. do...
Jesli ktos zaryzykował i kupił nawigacje Mio i zamiast gwarantowanych 10 Euro postanowił zagrać o 100 niech da znac jeśli wygra. Ciekawi mnie jak to...
Ja tez nie mogę wziąc udziału bo już mam jednego takiego....:( Ale pomysł fajny. Kumpel mówił, że ta gierka jak się gra o 100 Euro jest nieźle...
witam. mam ten sam problem z kamerka i sys Vista. Jezeli jest ktos zyczliwym na tym forum to prosze o przeslanie sterownikow do visty na mojego...
mario download
Sample One
Rozdział 9. Runtime Configuration
The configuration file
The configuration file (called php3.ini in PHP 3, and simply php.ini as of PHP 4) is read when PHP starts up. For the server module versions of PHP, this happens only once when the web server is started. For the CGI and CLI version, it happens on every invocation.
php.ini is searched in these locations (in order):
SAPI module specific location (PHPIniDir directive in Apache 2, -c command line option in CGI and CLI, php_ini parameter in NSAPI, PHP_INI_PATH environment variable in THTTPD)
The
PHPRCenvironment variable. Before PHP 5.2.0 this was checked after the registry key mentioned below.As of PHP 5.2.0, the following registry locations are searched in order: HKEY_LOCAL_MACHINE\SOFTWARE\PHP\x.y.z\IniFilePath, HKEY_LOCAL_MACHINE\SOFTWARE\PHP\x.y\IniFilePath and HKEY_LOCAL_MACHINE\SOFTWARE\PHP\x\IniFilePath, where x, y and z mean the PHP major, minor and release versions.
HKEY_LOCAL_MACHINE\SOFTWARE\PHP\IniFilePath (Windows Registry location)
Current working directory (except CLI)
The web server's directory (for SAPI modules), or directory of PHP (otherwise in Windows)
Windows directory (C:\windows or C:\winnt) (for Windows), or --with-config-file-path compile time option
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. SAPI name can be determined by php_sapi_name().
Notatka: The Apache web server changes the directory to root at startup causing PHP to attempt to read php.ini from the root filesystem if it exists.
The php.ini directives handled by extensions are documented respectively on the pages of the extensions themselves. The list of the core directives is available in the appendix. Probably not all PHP directives are documented in the manual though. For a complete list of directives available in your PHP version, please read your well commented php.ini file. Alternatively, you may find the the latest php.ini from CVS helpful too.
Since PHP 5.1.0, it is possible to refer to existing .ini variables from within .ini files. Example: open_basedir = ${open_basedir} ":/new/dir".
| Poprzedni | Spis treści | Następny |
| Raporty o błędach | Początek rozdziału | How to change configuration settings |