I'm using Uniform Server and MediaWiki for a project. It is for personal use, so it is restricted to my machine. Uniform Server came with Apache 2.4.25, PHP 7.1.1, phpMyAdmin 4.6.6, and MySQL 5.6.35-community.

MediaWiki wants an extension called fileinfo. According to the installation instructions, I have to remove the semicolon from the beginning of the line referencing php_fileinfo.dll in the php.ini file. However, php.ini doesn't exist. Is it possible to install fileinfo without using php.ini?

Any suggestions are greatly appreciated.

  • Why not create php.ini? – EBGreen May 3 '18 at 17:42
  • How does one do that? – DroidMonkey May 3 '18 at 18:54
  • well personally I would use vi but you use whatever editor you want... – EBGreen May 3 '18 at 18:57
  • Sorry, I meant "what is the structure of the file and what do I do with it?" I've never worked with PHP. – DroidMonkey May 3 '18 at 19:03
  • 1
    php.ini is optional. If it doesn’t exist, PHP just runs with default values. With php.ini set, you can customize those values. I just did a Google search for “default php.ini” and this is the result. – Giacomo1968 May 4 '18 at 0:54

Copying the php_development.ini file and renaming it php.ini worked.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.