php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #54301 phpinfo not working
Submitted: 2011-03-18 09:27 UTC Modified: 2011-03-18 14:15 UTC
From: wapinet at mail dot ru Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 5.3.6 OS: Windows XP SP3 32
Private report: No CVE-ID: None
 [2011-03-18 09:27 UTC] wapinet at mail dot ru
Description:
------------
<?php
phpinfo();
?>

this code crashes php.

Test script:
---------------
<?php
phpinfo();
?>


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-03-18 09:28 UTC] wapinet at mail dot ru
-Operating System: +Operating System: Windows XP SP3 32
 [2011-03-18 09:28 UTC] wapinet at mail dot ru
OS
 [2011-03-18 09:36 UTC] aharvey@php.net
-Status: Open +Status: Feedback -Package: PHP options/info functions +Package: Reproducible crash
 [2011-03-18 09:36 UTC] aharvey@php.net
Is this happening under a Web server or using the CLI version of PHP?

If it's a Web server, what are you getting in the Web server's error
log?
 [2011-03-18 09:49 UTC] wapinet at mail dot ru
-Status: Feedback +Status: Closed
 [2011-03-18 09:49 UTC] wapinet at mail dot ru
I apologize. The problem was that eAccelerator has been compiled for php version 5.3.5
Disable eAccelerator solved the problem.
 [2011-03-18 10:14 UTC] cataphract@php.net
-Status: Closed +Status: Bogus
 [2011-03-18 11:00 UTC] carsten_sttgt at gmx dot de
@wapinet
Can you tell me:
a) You are using the thread safe or non thread safe version of PHP?
b) What's the value of display_startup_errors?

@aharvey
Even PHP 5.3.6 can't load an eAccelerator build for 5.3.5, there should no core dump (Access violation). I guess this report is also a dup for bug #54200.
 [2011-03-18 12:50 UTC] wapinet at mail dot ru
a) I using thread safe version
b) display_startup_errors = On
 [2011-03-18 14:15 UTC] aharvey@php.net
If PHP crashes with a third party extension, and doesn't crash without
the third party extension, I'm reasonably happy to leave this closed,
even if it does turn out to be another manifestation of bug #54200: on
the evidence in this bug, the third party extension is more likely to
be at fault.
 [2011-03-18 16:06 UTC] carsten_sttgt at gmx dot de
> I'm reasonably happy to leave this closed,
> even if it does turn out to be another manifestation of bug #54200:

That's ok (isn't a dub not also bogus?). But now I can add this (zend_extension) to #54200.

> the third party extension is more likely to be at fault.

Always good if a 3rd party extension is involved... ;-)
But I've just tested this: PHP 5.3.6-nts together with ea (5.3.5) is not crashing. Just a message "ea can't be loaded" or no message with "display_startup_errors = Off".

BTW: which other problems (then [zend_]extension=) are hidden with "display_startup_errors = Off"?
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 03:01:27 2024 UTC