php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #36915 PHP Warning: mime_magic: type regex invalid in Unknown
Submitted: 2006-03-29 17:00 UTC Modified: 2006-06-06 16:12 UTC
From: amos at treenetnz dot com Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 4.4.2 OS: Debian Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: amos at treenetnz dot com
New email:
PHP Version: OS:

 

 [2006-03-29 17:00 UTC] amos at treenetnz dot com
Description:
------------
PHP Logs a warning on startup from command line.

--- LOG Extract ---
PHP Warning:  mime_magic: type regex             BEGIN[[:space:]]*[{]    application/x-awk invalid in Unknown on line 0

---- End ---

This has only appeared in recent upgrade to
PHP 4.4.2-1+b1 (cli) (built: Mar 20 2006 03:48:19)


Reproduce code:
---------------
#!/usr/bin/php -q
<?php  ?>



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-03-29 17:20 UTC] tony2001@php.net
What was your configure line?
 [2006-03-30 06:27 UTC] amos at treenetnz dot com
I am not aware what the configure line was. This is for the pre-built Debian package install via the apt-get package system.
 [2006-03-30 10:45 UTC] tony2001@php.net
Please report this problem to Debian package maintainers.
 [2006-06-06 16:12 UTC] mfischer@php.net
For reference, the Debian bug is
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=361789
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat May 03 14:01:30 2025 UTC