downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  

<InstallationResource Types>
Last updated: Thu, 26 Jun 2008

Runtime Configuration

The behaviour of these functions is affected by settings in php.ini.

Mimetype configuration options
Name Default Changeable Changelog
mime_magic.debug "0" PHP_INI_SYSTEM Available since PHP 5.0.0.
mime_magic.magicfile "/path/to/php/magic.mime" PHP_INI_SYSTEM Available since PHP 4.3.0.
For further details and definitions of the PHP_INI_* constants, see the php.ini directives.

Here's a short explanation of the configuration directives.

mime_magic.debug bool

Enable/disable debugging.

mime_magic.magicfile string

The path to the magic.mime file.



add a noteadd a note User Contributed Notes
Runtime Configuration
There are no user contributed notes for this page.




<InstallationResource Types>
Last updated: Thu, 26 Jun 2008
show source | credits | sitemap | contact | advertising | mirror sites
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://phpbuilder.com/
Last updated: Tue Nov 1 20:20:59 2005 EST
Columns / Articles | Tips / Quickies | News | News Linking and RSS Feeds | Shared Code Library
Mail Archives | Support / Discussion Forums | Get Started! Links | Contribute! | Docs