php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #36004 phpinfo/php -i not outputing and/or showing errors
Submitted: 2006-01-13 21:04 UTC Modified: 2006-01-14 01:19 UTC
From: mattsch at gmail dot com Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 5.1.2 OS: Gentoo
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mattsch at gmail dot com
New email:
PHP Version: OS:

 

 [2006-01-13 21:04 UTC] mattsch at gmail dot com
Description:
------------
This produces no output in the browser:

<?php
phpinfo(); 
?>

This executes only partially and stopping with an error in the shell:

php -i

Output right before it fails is:

imagick

ImageMagick support => enabled
Magick Backend => ImageMagick
ImageMagick version => 6.2.5
PHP imagick version => 0.9.11
MaxRGB => 65535
Supported image formats => clipmask
*** glibc detected *** free(): invalid pointer: 0xbfdd7378 ***
Aborted

Reproduce code:
---------------
Template:

<?php
phpinfo(); 
?>

Shell:

php -i

Expected result:
----------------
phpinfo and php -i should output and execute without errors respectively.

Actual result:
--------------
phpinfo does not output.
php -i executes and stops with errors.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-01-13 21:13 UTC] tony2001@php.net
Does it work without imagick extension?
 [2006-01-13 22:34 UTC] mattsch at gmail dot com
I was thinking that might have been the problem by reading the output.  I recompiled without imagick and it works fine now.  I guess imagick is so antiquated now that it shouldn't be used anymore and magickwand should be used instead (which compiles fine).  Should I submit a bug on PECL imagick or does it even matter?
 [2006-01-14 01:19 UTC] tony2001@php.net
Yes, please use PECL bug system to report a bug in PECL/imagick.
Thanks.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Oct 19 15:03:35 2021 UTC