Mailinglisten-Archive |
Hallo Christian,
> > Jetzt möchte ich aber, daß jeder VHost eine eigene php.ini
> > haben soll.
> > Wie kann man das erreichen?
>
> unter WIN gibt es 'php.exe -c <path>' schau mal ob du damit was
> anfangen kannst.
sehr guter Tip!!!
Gibt es auch unter Linux:
[laura_(at)_lauras php4]$ ./php -?
Usage: php [-q] [-h] [-s [-v] [-i] [-f <file>] | {<file> [args...]}
-q Quiet-mode. Suppress HTTP Header output.
-s Display colour syntax highlighted source.
-f <file> Parse <file>. Implies `-q'
-v Version number
-c <path> Look for php.ini file in this directory
-a Run interactively
-d foo[=bar] Define INI entry foo with value 'bar'
-e Generate extended information for debugger/profiler
-z <file> Load Zend extension <file>.
-l Syntax check only (lint)
-m Show compiled in modules
-i PHP information
-h This help
Werde mal versuchen, daraus was zu basteln.
Danke erstmal.
Ciao
Laura
php::bar PHP Wiki - Listenarchive