From:             php at humbapa dot ch
Operating system: Linux 2.4.22 (Debian unstable)
PHP version:      5CVS-2004-01-08 (dev)
PHP Bug Type:     PHP options/info functions
Bug description:  Problems with --with-mime-magic

Description:
------------
When I start apache2 with php5cvs as SAPI module the error_log contains:

PHP Warning:  PHP Startup: : (/usr/local/apache2/conf/magic:22) '' is not
a valid mimetype, etry skipped in Unknown on line 0
PHP Warning:  PHP Startup: : (/usr/local/apache2/conf/magic:59)
'audio/x-aiff   ' is not a valid mimetype, etry skipped in Unknown on line
0
PHP Warning:  PHP Startup: : (/usr/local/apache2/conf/magic:270)
'text/plain    8bit' is not a valid mimetype, etry skipped in Unknown on
line 0

I use the latest PHP5 from CVS and build with:
--with-mime-magic=/usr/local/apache2/conf/magic (the magicfile that comes
with apache2)

- is it not possible to use the magicfile from apache2?
- why do the startuperros show up when I set display_startup_errors = Off
in php.ini?
- Apache2 exit with segmentation fault when I call the function phpinfo()
- etry should be entry :-)


-- 
Edit bug report at http://bugs.php.net/?id=26844&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=26844&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=26844&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=26844&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=26844&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=26844&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=26844&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=26844&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=26844&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=26844&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=26844&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=26844&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=26844&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26844&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=26844&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=26844&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=26844&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26844&r=float

Reply via email to