Christoph Schnauß: eigene php.ini?

Beitrag lesen

hallo Andreas,

Meinst Du:

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

Nee. Ich meine: "The default location of php.ini is a compile time option (see the FAQ entry), but can be changed for the CGI and CLI version with the -c command line switch, see the chapter about using PHP from the command line. You can also use the environment variable PHPRC for an additional path to search for a php.ini file."

Grüße aus Berlin

Christoph S.