I am hesitated to ask this question because it looks weird. But anyway. Just in case someone had encountered the same problem already... filesystem functions (fopem, file, file_get_contents) behave very strange for http:// wrapper
- görünüşte çalışıyor. no errors raised. fopen () kaynağı döndürür.
- it returns no data for all certainly working urls (e.g.
http://google.com/
).
file returns empty array, file_get_contents() returns empty dizi, fread returns false - (süre gerekir!) ama boş bir dize tüm kasıtlı yanlış URL'ler için (örneğin,
http://goog973jd23le.com/
) ben hiçbir hata alıyorum sonra, küçük [sözde alan arama] timeout için kaydetmek, tam olarak aynı şekilde davranır. - url_fopen_wrapper is turned on
- (komut satırı ve php sürümleri her ikisi de) kıvrılıp diğer tüm araçlar ve uygulamalar çalışıyor, çalışıyor, yerel dosyaları ince açıldı
Benim durumumda her url veya ana bilgisayar için çalışmaz, çünkü This error uygulanamaz görünüyor.
php-fpm 5.2.11 Linux version 2.6.35.6-48.fc14.i686 (mockbuild@x86-18.phx2.fedoraproject.org)