简体   繁体   English

您是否在Azure中启用了php_fileinfo扩展

[英]Did you enable the php_fileinfo extension in Azure

How can I enable php_fileinfo in an Azure website, for Laravel to determine whether the file is a PDF? 如何在Azure网站中启用php_fileinfo ,以便Laravel确定该文件是否为PDF?

I tried to add the setting to Azure as shown in this image, but it's not working. 我试图将设置添加到Azure,如此图所示,但它无法正常工作。 Tried it without the bin\\etx\\ directory as well. 尝试没有bin\\etx\\目录。

在此输入图像描述

From the comments , have you tried: 评论中 ,您尝试过:

Use "PHP_Extensions" instead of "PHP_EXTENSIONS" to make it work properly 使用“PHP_Extensions”而不是“PHP_EXTENSIONS”使其正常工作

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 启用 php_fileinfo 扩展? - Enable the php_fileinfo extension? 1/1)LogicException由于没有可用的猜测器,因此无法猜测mime类型(是否启用了php_fileinfo扩展名?) - 1/1) LogicException Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) Laravel“启用fileinfo扩展名后,由于没有可用的猜测器,因此无法猜测mime类型(是否启用了php_fileinfo扩展名?)” - Laravel “Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?)” when fileinfo extension is enabled 如何在 PHP 中启用 php_fileinfo 扩展? - How to enable php_fileinfo extension in PHP? php_fileinfo扩展名不适用于laravel 4在线 - php_fileinfo extension not working for laravel 4 in online 编译php后如何重新启用php_fileinfo扩展名 - how to reenable php_fileinfo extension after compile php Laravel文件下载 - 未启用php_fileinfo扩展 - Laravel file download - php_fileinfo extension not enabled .htaccess启用php fileinfo扩展 - .htaccess enable php fileinfo extension 如何在 Windows 10 中的 php.ini 中安装扩展 php_fileinfo - How can I install extension php_fileinfo in my php.ini in Windows 10 在Azure上安装PHP FileInfo Extension - Installing PHP FileInfo Extension on Azure
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM