eigene php.ini für einen vhost?
eigene php.ini für einen vhost?
Weiß jemand von euch, wie man für einen vhost eine eigene php.ini angeben kann? Hab schon gegoogelt aber leider nix dazu gefunden.
Re: eigene php.ini für einen vhost?
php-cgi / suPHP
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Re: eigene php.ini für einen vhost?
Soweit war ich mittlerweile auch schon, aber wie binde ich dann eine eigene php.ini in einen vhost ein?Joe User wrote:php-cgi / suPHP
Re: eigene php.ini für einen vhost?
Guckst du Doku: (http://suphp.org/Documentation-Module-C ... on.de.html)
suPHP_ConfigPath (erwartet den Pfad zu einem Verzeichnis)
Diese Option stellt ein, welcher Pfad zur "php.ini" dem PHP-Interpreter übergeben werden soll (indem die PHPRC Umgebungsvariable gesetzt wird).
Sie bezieht sich *NICHT* auf eine Datei, sondern auf das Verzeichnis, in dem sich die Datei befindet.
Beispiel: Wenn Sie die Konfigurationsdatei "/path/to/server/config/php.ini" verwenden möchten, müssen Sie "suPHP_Config /path/to/server/config" angeben.
Wenn Sie diese Option nicht benutzen, wird PHP den einkompilierten Standard-Pfad benutzen.
