#29384 [Fbk->Opn]: bcpow crashes apache (PHP 5.0.0)
| From: | suzanne at smkelly dot com | Date: | Tue, 27 Jul 2004 18:39:20 +0000 |
| Subject: | #29384 [Fbk->Opn]: bcpow crashes apache (PHP 5.0.0) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-63641@lists.php.net to get a copy of this message | ||
ID: 29384
User updated by: suzanne at smkelly dot com
Reported By: suzanne at smkelly dot com
-Status: Feedback
+Status: Open
Bug Type: BC math related
Operating System: NT4 sp6a
PHP Version: 5.0.0
New Comment:
The snapshot of 2004-07-27 seems to work just fine.
Previous Comments:
------------------------------------------------------------------------
[2004-07-27 14:36:43] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
Could you also try to run the same code with PHP-CLI?
I can't reproduce it witn under Win2k.
------------------------------------------------------------------------
[2004-07-26 09:29:03] suzanne at smkelly dot com
Description:
------------
the bcpow example in the manual crashes apache 2.0.44 (using
php5apache2.dll)
apache crashes with access violation
not unique to manual example
other uses of bcpow do the same thing
using php.ini-recommended, with just a few changes, namely:
display_errors = On
display_startup_errors = On
log_errors = Off
extension_dir = "E:\php5.0.0\ext\"
extension=php_mysql.dll
sendmail_from = info@smkelly.com
bcpow works ok with PHP 4.3.0, same computer, same web server.
this is a stable server that has been running for a long time
Reproduce code:
---------------
echo bcpow(4.2, 3, 2); // 74.08
Expected result:
----------------
display 74.08
Actual result:
--------------
apache/php crashes
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29384&edit=1