|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2013-06-22 10:00 UTC] ab@php.net
-Status: Open
+Status: Not a bug
[2013-06-22 10:00 UTC] ab@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 27 09:00:01 2025 UTC |
Description: ------------ Despite the fact it is specified in the configuration file that PHP can view distant files using fopen(), imagecreatefromXXX() and other functions, it doesn't seem to work. [php.ini] allow_url_fopen = On allow_url_include = On Test script: --------------- <?php $php = fopen('https://bugs.php.net', 'r'); fclose($php); Actual result: -------------- PHP Warning: fopen(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in C:\\www\\index.php on line 2 PHP Warning: fopen(https://bugs.php.net): failed to open stream: Invalid argument in C:\\www\\index.php on line 2 PHP Warning: fclose() expects parameter 1 to be resource, boolean given in C:\\www\\index.php on line 3