From: taoschreiner at hotmail dot fr
Operating system: Win7 x86
PHP version: 5.5.0
Package: *Configuration Issues
Bug Type: Bug
Bug description:The fopen manager does not work, even if it is set to On in
php.ini
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
--
Edit bug report at https://bugs.php.net/bug.php?id=65096&edit=1
--
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=65096&r=trysnapshot54
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=65096&r=trysnapshot53
Try a snapshot (trunk):
https://bugs.php.net/fix.php?id=65096&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=65096&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=65096&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=65096&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=65096&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=65096&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=65096&r=support
Expected behavior: https://bugs.php.net/fix.php?id=65096&r=notwrong
Not enough info:
https://bugs.php.net/fix.php?id=65096&r=notenoughinfo
Submitted twice:
https://bugs.php.net/fix.php?id=65096&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=65096&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=65096&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=65096&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=65096&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=65096&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=65096&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=65096&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=65096&r=mysqlcfg