Code: Select all
Warning (2): fopen(): ftp:// wrapper is disabled in the server
configuration by allow_url_fopen=0 Warning (2):
fopen(ftp://...@log/TEST/CONFIG/test.proc) [function.fopen]: failed
to open stream: no suitable wrapper could be found
In beiden php.ini:
allow_url_fopen= Am
mache ich:
Code: Select all
$path = "ftp://login:pass@IP/TEST/CONFIG/" . $name; // $name = test.proc
$dest = fopen($path, "w");
BEARBEITEN: In phpinfo() ist „allow_url_fopen“ deaktiviert (global und lokal), warum? (Vielleicht verwende ich das Cakephp-Framework? Und der Server, auf dem „allow_url_fopen“ jedes Mal auf „off“ gesetzt ist, wird von OVH gehostet)