FS#62296 - finfo::finfo(): Failed to load magic database at ..
Attached to Project:
Arch Linux
Opened by Francois (francoism90) - Wednesday, 10 April 2019, 12:43 GMT
Last edited by Jan de Groot (JGC) - Wednesday, 10 April 2019, 13:37 GMT
Opened by Francois (francoism90) - Wednesday, 10 April 2019, 12:43 GMT
Last edited by Jan de Groot (JGC) - Wednesday, 10 April 2019, 13:37 GMT
|
Details
Description:
<?php echo (new finfo(FILEINFO_MIME, "/srv/http/project/public/index.php")); // PHP Fatal error: Uncaught Exception: finfo::finfo(): Failed to load magic database at '/srv/http/project/public/index.php'. in /srv/http/project/tempCodeRunnerFile.php:2 Additional info: * php 7.3.4-2 * provided php.ini Steps to reproduce: It's really weird, as this never happened before. I'll try to see if downgrading helps, as it does it seem to be a compile/config(?) error. |
This task depends upon
finfo __construct takes a magic database as 2nd parameter, your 2nd parameter clearly is not a magic database.