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
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: 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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Fri May 09 19:01:28 2025 UTC