Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
aports
aports
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 639
    • Issues 639
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 193
    • Merge Requests 193
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • alpine
  • aportsaports
  • Issues
  • #6945

Closed
Open
Opened Feb 27, 2017 by John S Long@Adduc

PHP7.1-fileinfo: magic database missing?

After installing the php7.1 and php7.1-fileinfo packages from edge/testing (after the changes in https://github.com/alpinelinux/aports/commit/82cd1263a39ff83b95e0f3d899ddf2e1a72181da ):

Running php -r '$finfo = new finfo(FILEINFO_MIME);' provides the following warning:

PHP Fatal error:  Uncaught Exception: finfo::finfo(): Failed to load magic database at '(null)'. in Command line code:1
Stack trace:
#0 Command line code(1): finfo->finfo(1040)
#1 {main}
  thrown in Command line code on line 1

(from redmine: issue id 6945, created on 2017-02-27, closed on 2017-04-07)

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
Mar 4, 2017
Due date
Mar 4, 2017
Reference: alpine/aports#6945