cancel
Showing results for 
Search instead for 
Did you mean: 

Error stream_wrapper_unregister() when installing magento

Error stream_wrapper_unregister() when installing magento

I wanted to try magento CE edition so I downloaded it uploaded all the files to my host but then I get this error when I  visit the url.

Warning: stream_wrapper_unregister(): Unable to unregister protocol phar:// in /customers/d/f/0/(my_website_url)l/httpd.www/magento/app/bootstrap.php on line 11

1 REPLY 1

Re: Error stream_wrapper_unregister() when installing magento

Same issue afther upgrade to 2.3.1, using bootstrap in module :

use Magento\Framework\App\Bootstrap;
require __DIR__ . '/../../../../../app/bootstrap.php';
$bootstrap = Bootstrap::create(BP, $_SERVER);

 

Any one any idea?