Stealth2204
30.09.04, 07:22
Hallo,
bin mir nun unsicher ob das hier das richtige Forum ist, aber hoffe doch.
Ich habe ein Problem und zwar ist auf meinem Server im PHP Safe Mode an. Ich gehe davon aus da ich einen sogenannten Tracker installieren möchte. Doch immer bei der Registrierung am Ende wo er die E-Mail senden soll kommt dieser Fehler:
Warning: mail(): SAFE MODE Restriction in effect. The fifth parameter is disabled in SAFE MODE. in /srv/www/htdocs/web1/html/tracker/takesignup.php on line 135
Warning: Cannot modify header information - headers already sent by (output started at /srv/www/htdocs/web1/html/tracker/takesignup.php:135) in /srv/www/htdocs/web1/html/tracker/takesignup.php on line 137
Ich habe schon versucht die Zeile auszukommentieren doch dann wird leider keine e-mail verschickt.
Meine php.ini in /etc/php.ini sieht so aus:
; Safe Mode
;
;safe_mode = Off
; By default, Safe Mode does a UID compare check when
; opening files. If you want to relax this to a GID compare,
; then turn on safe_mode_gid.
;safe_mode_gid = Off
; When safe_mode is on, UID/GID checks are bypassed when
; including files from this directory and its subdirectories.
; (directory must also be in include_path or full path must
; be used when including)
;safe_mode_include_dir =
; When safe_mode is on, only executables located in the safe_mode_exec_dir
; will be allowed to be executed via the exec family of functions.
;safe_mode_exec_dir =
; Setting certain environment variables may be a potential security breach.
; This directive contains a comma-delimited list of prefixes. In Safe Mode,
; the user may only alter environment variables whose names begin with the
; prefixes supplied here. By default, users will only be able to set
; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).
;
; Note: If this directive is empty, PHP will let the user modify ANY
; environment variable!
;safe_mode_allowed_env_vars = PHP_
; This directive contains a comma-delimited list of environment variables that
; the end user won't be able to change using putenv(). These variables will be
; protected even if safe_mode_allowed_env_vars is set to allow to change them.
;safe_mode_protected_env_vars = LD_LIBRARY_PATH
Also laut diesen Zeilen ist es aus .. habe ebenfalls diese mit ";" auskommentiert um ganz sicher zu gehen .. Doch Leider ist php anscheinend immer noch im Safe Mode .. wie bekomm ich das denn nun aus? Ich bin echt ratlos :(
Benutze SuSE Linux 9.0
Danke für eure Hilfe im Vorraus.
Grüßle,
Stealth
bin mir nun unsicher ob das hier das richtige Forum ist, aber hoffe doch.
Ich habe ein Problem und zwar ist auf meinem Server im PHP Safe Mode an. Ich gehe davon aus da ich einen sogenannten Tracker installieren möchte. Doch immer bei der Registrierung am Ende wo er die E-Mail senden soll kommt dieser Fehler:
Warning: mail(): SAFE MODE Restriction in effect. The fifth parameter is disabled in SAFE MODE. in /srv/www/htdocs/web1/html/tracker/takesignup.php on line 135
Warning: Cannot modify header information - headers already sent by (output started at /srv/www/htdocs/web1/html/tracker/takesignup.php:135) in /srv/www/htdocs/web1/html/tracker/takesignup.php on line 137
Ich habe schon versucht die Zeile auszukommentieren doch dann wird leider keine e-mail verschickt.
Meine php.ini in /etc/php.ini sieht so aus:
; Safe Mode
;
;safe_mode = Off
; By default, Safe Mode does a UID compare check when
; opening files. If you want to relax this to a GID compare,
; then turn on safe_mode_gid.
;safe_mode_gid = Off
; When safe_mode is on, UID/GID checks are bypassed when
; including files from this directory and its subdirectories.
; (directory must also be in include_path or full path must
; be used when including)
;safe_mode_include_dir =
; When safe_mode is on, only executables located in the safe_mode_exec_dir
; will be allowed to be executed via the exec family of functions.
;safe_mode_exec_dir =
; Setting certain environment variables may be a potential security breach.
; This directive contains a comma-delimited list of prefixes. In Safe Mode,
; the user may only alter environment variables whose names begin with the
; prefixes supplied here. By default, users will only be able to set
; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).
;
; Note: If this directive is empty, PHP will let the user modify ANY
; environment variable!
;safe_mode_allowed_env_vars = PHP_
; This directive contains a comma-delimited list of environment variables that
; the end user won't be able to change using putenv(). These variables will be
; protected even if safe_mode_allowed_env_vars is set to allow to change them.
;safe_mode_protected_env_vars = LD_LIBRARY_PATH
Also laut diesen Zeilen ist es aus .. habe ebenfalls diese mit ";" auskommentiert um ganz sicher zu gehen .. Doch Leider ist php anscheinend immer noch im Safe Mode .. wie bekomm ich das denn nun aus? Ich bin echt ratlos :(
Benutze SuSE Linux 9.0
Danke für eure Hilfe im Vorraus.
Grüßle,
Stealth