|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2013-10-25 06:29 UTC] laruence@php.net
-Status: Open
+Status: Feedback
[2013-10-25 06:29 UTC] laruence@php.net
[2014-02-08 21:34 UTC] andrey at holey dot org
[2014-12-30 10:42 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 22:00:01 2025 UTC |
Description: ------------ PHP/Apache is reporting default when trying to use finfo_file() method. When opening from web (through apache2), segfault is reported in error log: [Wed Oct 23 14:32:25 2013] [notice] child pid 29084 exit signal Segmentation fault (11) When executing from cli e.g. php -q test.php, output is okay. php -v PHP 5.5.4-pl0-gentoo (cli) (built: Oct 18 2013 19:11:02) Copyright (c) 1997-2013 The PHP Group Zend Engine v2.5.0, Copyright (c) 1998-2013 Zend Technologies with Zend OPcache v7.0.3-dev, Copyright (c) 1999-2013, by Zend Technologies /usr/sbin/apache2 -v Server version: Apache/2.2.25 (Unix) Server built: Sep 20 2013 14:16:11 Test script: --------------- <?php $finfo = finfo_open(FILEINFO_MIME_TYPE, null); $info = finfo_file($finfo, "index.php"); Expected result: ---------------- mime type of the file should be returned Actual result: -------------- nothing - apache/php segfaults