| Summary: | dev-php5/pecl-fileinfo issues | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Niko Efthymiou <nefthy-gentoo-bugzilla> |
| Component: | Current packages | Assignee: | PHP Bugs <php-bugs> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
Seems like a dupe of #288043 Yes, you are right, thanks. *** This bug has been marked as a duplicate of bug 288043 *** |
pecl-file info has a broken ("" instead of "/usr/share/misc/magic.mgc") PHP_DEFAUL_MAGIC_FILE path. Reproducible: Always Steps to Reproduce: 1. set error_reporting to E_ALL in php.ini 2. php -r 'finfo_open();' Actual Results: Warning: finfo_open(): file = ''. in Command line code on line 1 Expected Results: finfo_open() is supposed to take the system default magic file if no argument is given. problem can be fixed by setting PHP_DEFAULT_MAGIC_FILE to "/usr/share/misc/magic.mgc" in the config.h