allgemeine-howtos:apache:php:php-safemode-settings-im-virtualhost
no way to compare when less than two revisions
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
— | allgemeine-howtos:apache:php:php-safemode-settings-im-virtualhost [2016/01/20 11:13] (aktuell) – angelegt - Externe Bearbeitung 127.0.0.1 | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
+ | ====== PHP SafeMode Settings im VirtualHost ====== | ||
+ | Wird PHP als Apache-Module eingesetzt, sind wir mit folgenden Settings innerhalb des VirtualHost Eintrages einer Domain innerhalb der Apache-Konfiguration gut gefahren: | ||
+ | |||
+ | <code apache> | ||
+ | php_admin_value open_basedir / | ||
+ | php_admin_value upload_tmp_dir / | ||
+ | php_admin_value session.save_path / | ||
+ | php_admin_value include_path .:/ | ||
+ | php_admin_flag safe_mode on | ||
+ | php_admin_value sendmail_from webmaster@domain.tld | ||
+ | php_admin_value sendmail_path "/ | ||
+ | |||
+ | Die sendmail-Settings sind übrigens sehr sinnvoll und empfehlenswert, | ||
+ | |||
+ | // |
allgemeine-howtos/apache/php/php-safemode-settings-im-virtualhost.txt · Zuletzt geändert: 2016/01/20 11:13 von 127.0.0.1