php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43415 CLI crashes
Submitted: 2007-11-26 17:29 UTC Modified: 2007-11-26 20:11 UTC
From: crisbi at gmx dot net Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 5.2.5 OS: WinXP
Private report: No CVE-ID: None
 [2007-11-26 17:29 UTC] crisbi at gmx dot net
Description:
------------
Just downloaded the 
php-5.2.5-win32-installer.msi
from the website and ticket: "CLI only" during install, along with the php_threads extension.

Executing a simple program:
-------------------
<?php
echo "whatever\n";
?>
-------------------

CRASHES with:
"CLI has encoutered a problem and needs to close. We are sorry for the inconvenience."


BUT:
When I *disable* the php_threads extension in the php.ini, everything works *fine* (no crash).
i.e.
-------------------------
[PHP_THREADS]
;extension=php_threads.dll
-------------------------

Why does this happen?! Do I need to run an Apache (which I currently don't)?

I really don't need the threads-lib, but installed it out of pure curiosity. Just trying to spare some other folks the same trouble.



Reproduce code:
---------------
<?php
echo "whatever\n";
?>

Expected result:
----------------
whatever


Actual result:
--------------
whatever

+ Messagebox
"CLI has encoutered a problem and needs to close. We are sorry for the inconvenience."

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-11-26 20:11 UTC] iliaa@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

Please report bugs with PECL extensions on the PECL site.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 08:01:30 2024 UTC