![]() |
|
PHP copy() - mkdir() Fehler +- Sponsor-Board.de (https://www.sponsor-board.de) +-- Forum: Community (/forumdisplay.php?fid=56) +--- Forum: Hilfe (/forumdisplay.php?fid=102) +---- Forum: Scripting (/forumdisplay.php?fid=108) +---- Thema: PHP copy() - mkdir() Fehler (/showthread.php?tid=36477) |
PHP copy() - mkdir() Fehler - Aaron - 05.03.2013 15:23 Guten Tag, ich bekomme folgenden Fehler, wenn ich mit copy () eine Datei hochladen möchte : Zitat: Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 0 is not allowed to access /pfad owned by uid 33 in /pfad/datei.php on line 112
PHP-Code: umask(0000);
RE: PHP copy() - mkdir() Fehler - Storage-Base.de - 05.03.2013 17:06 Moin, welches CP kommt zum einsatz? Oftmals haben die vHosts ne eigene php.ini. Hast du dem File auch die Rechte www-data etc. gegeben und nicht root? Gibst du wirklich nur "Pfad" an nicht z.B. "/dir/pfad"? RE: PHP copy() - mkdir() Fehler - Querki - 05.03.2013 17:46 Aaron schrieb: Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 0 is not allowed to access /pfad owned by uid 33 in /pfad/datei.php on line 112
RE: PHP copy() - mkdir() Fehler - LimeSoft - 05.03.2013 19:17 safe_mode abstellen, ggf. Dateiberechtigung auf 0777 einstellen ![]() Cheers RE: PHP copy() - mkdir() Fehler - Aaron - 05.03.2013 21:18 Danke Storage-Base ![]() Ich nutze Froxlor und wusste nicht, dass dann ne andere php.ini verwendet wird, nun funktioniert alles Querki schrieb: Aaron schrieb: Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 0 is not allowed to access /pfad owned by uid 33 in /pfad/datei.php on line 112
RE: PHP copy() - mkdir() Fehler - KoKsPfLaNzE - 05.03.2013 22:11 btw es kann für jede datei eine eigene php ini datei genutzt werden, das muss nicht vhost abhängig sein. Btw bei der error meldung kam bei google immer die Message das es an dem safe mode liegt. |