Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62357 - php/mod_php5 conflicts with file's mime assoc syntax
Summary: php/mod_php5 conflicts with file's mime assoc syntax
Status: RESOLVED DUPLICATE of bug 65266
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-31 01:49 UTC by Alexander Ivanchev
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Ivanchev 2004-08-31 01:49:31 UTC
Greetings,

Something annoying: since migrating successfully to php/mod_php5 it turns out that the apache2's error.log gets filled with mime-related warning, apparently php5 doesn't quite play nice with file's (4.10) mime associations:

PHP Warning:  PHP Startup: : (/usr/share/misc/file/magic.mime:47) '!SCREAM!\taudio/x-mod' is not a valid mimetype, entry skipped in Unknown on line 0
PHP Warning:  PHP Startup: : (/usr/share/misc/file/magic.mime:104) 'image/svg+xml' is not a valid mimetype, entry skipped in Unknown on line 0
PHP Warning:  PHP Startup: : (/usr/share/misc/file/magic.mime:667) 'Hierarchical Data Format (version 4) data' is not a valid mimetype, entry skipped in Unknown on line 0
PHP Warning:  PHP Startup: : (/usr/share/misc/file/magic.mime:668) 'Hierarchical Data Format (version 5) data' is not a valid mimetype, entry skipped in Unknown on line 0
PHP Warning:  PHP Startup: : (/usr/share/misc/file/magic.mime:743) 'public key block' is not a valid mimetype, entry skipped in Unknown on line 0
PHP Warning:  PHP Startup: : (/usr/share/misc/file/magic.mime:744) 'message' is not a valid mimetype, entry skipped in Unknown on line 0
PHP Warning:  PHP Startup: : (/usr/share/misc/file/magic.mime:745) 'signed message' is not a valid mimetype, entry skipped in Unknown on line 0
PHP Warning:  PHP Startup: : (/usr/share/misc/file/magic.mime:746) 'signature' is not a valid mimetype, entry skipped in Unknown on line 0
PHP Warning:  PHP Startup: : (/usr/share/misc/file/magic.mime:747) 'data' is not a valid mimetype, entry skipped in Unknown on line 0
[Tue Aug 31 00:26:09 2004] [notice] Apache/2.0.50 (Gentoo/Linux) mod_ssl/2.0.50 OpenSSL/0.9.7d PHP/5.0.1 configured -- resuming normal operations

Versions go as:

[ebuild   R   ] sys-apps/file-4.10  -build -debug +python  0 kB
[ebuild   R   ] dev-php/mod_php-5.0.1  -adabas +apache2 +bcmath +berkdb -birdstep +bzlib +calendar +cdb -cpdflib +crypt -ctype +curl -curlwrappers -db2 +dba -dbase -dbm -dbmaker -dbx -debug -dio -empress -empress-bcs -esoob +exif -fam -fdftk -filepro -flatfile -frontbase +ftp +gd +gd-external +gdbm -gmp -hyperwave-api +iconv +imap -informix -ingres -inifile -interbase -iodbc +jpeg -ldap -libedit -mcve +memlimit +mhash +mime -ming -mnogosearch -msession -msql +mssql +mysql -mysqli +ncurses -nis +nls -oci8 +odbc -oracle7 -ovrimos -pcntl +pcre -pfpro +png +posix -postgres -qdbm +readline -recode -sapdb +sasl -session +shared +shared -sharedmem -simplexml -snmp -soap +sockets -solid +spell -spl -sqlite +ssl -sybase -sybase-ct -sysvipc -tidy +tiff -tokenizer +truetype -wddx +xml2 -xmlrpc -xpm -xsl +zlib  0 kB 

Magic_quotes has been set to On (if it matters?)

Ta.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Sebastian Bergmann (RETIRED) gentoo-dev 2005-02-16 04:58:43 UTC

*** This bug has been marked as a duplicate of 65266 ***