试图通过包含一个带有指向我的供应商目录的自动加载程序的脚本,在一个自定义/ API / PowerPoint /phpPres蛋白目录下运行一个带有PHP生成的api,结果会产生一个警告。
警告: require(C:\wamp64\www\projectaim\api\libraries\PhpPresentation\vendor\phpoffice\phppresentation\vendor\composer/../symfony/polyfill-mbstring/bootstrap.php):未能打开流:在第70行的C:\wamp64\www\projectaim\api\libraries\PhpPresentation\vendor\phpoffice\phppresentation\vendor\composer\autoload_real.php中没有这样的文件或目录

我该怎么解决这个问题?
发布于 2020-09-02 04:59:12
我能解决这个问题。它需要名为"mbstring“的php扩展。
在您的服务器上安装扩展,如果您在本地使用M2,而不是运行在CMD以下。
sudo apt安装php7.0-mbstring
根据您使用的.更改上述CMD的PHP版本。然后重新启动apache2。
让我知道它是否为anyOne工作。谢谢!
https://stackoverflow.com/questions/59479508
复制相似问题