简体   繁体   中英

Failed to Open Stream /vendor/phpoffice/phppresenation/vendor/composer/../symfony/polyfill-mbstring/bootstrap.php

Attempting to run an API with PHP PowerPoint generation by inclusion of a script with an auto loader pointing to my vendor directory under a custom /api/libraries/PhpPresentation directory results in a warning.

Warning: require(C:\\wamp64\\www\\projectaim\\api\\libraries\\PhpPresentation\\vendor\\phpoffice\\phppresentation\\vendor\\composer/../symfony/polyfill-mbstring/bootstrap.php): failed to open stream: No such file or directory in C:\\wamp64\\www\\projectaim\\api\\libraries\\PhpPresentation\\vendor\\phpoffice\\phppresentation\\vendor\\composer\\autoload_real.php on line 70

在此处输入图片说明

How do I fix this?

I was able to fix this. it requires php extension named "mbstring"

install PHP-mbstring extension on your server, if you are using M2 on local than run below CMD..

sudo apt-get install php7.0-mbstring

change PHP version on above CMD acording to which u's using.. and restart you apache2.

let me know is it working for anyOne or not.. THANK YOU!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM