Edit report at https://bugs.php.net/bug.php?id=65096&edit=1

 ID:                 65096
 Updated by:         a...@php.net
 Reported by:        taoschreiner at hotmail dot fr
 Summary:            The fopen manager does not work, even if it is set
                     to On in php.ini
-Status:             Open
+Status:             Not a bug
 Type:               Bug
 Package:            *Configuration Issues
 Operating System:   Win7 x86
 PHP Version:        5.5.0
 Block user comment: N
 Private report:     N

 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

Please enable the openssl extension in order to use the https wrapper.


Previous Comments:
------------------------------------------------------------------------
[2013-06-22 09:38:21] taoschreiner at hotmail dot fr

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 &quot;https&quot; - 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


------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=65096&edit=1

Reply via email to