#35553 [Csd->Bgs]: Problem with --enable-memory-limit
| From: | tony2001@php.net | Date: | Mon, 05 Dec 2005 12:26:06 +0000 |
| Subject: | #35553 [Csd->Bgs]: Problem with --enable-memory-limit | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-89754@lists.php.net to get a copy of this message | ||
ID: 35553
Updated by: tony2001@php.net
Reported By: clouard at gmail dot com
-Status: Closed
+Status: Bogus
Bug Type: Unknown/Other Function
Operating System: Linux
PHP Version: 4.4.1
New Comment:
.
Previous Comments:
------------------------------------------------------------------------
[2005-12-05 13:21:59] clouard at gmail dot com
It did not work yesterday, it works today. I suppose PHP is not
responsible for this, and I'm sorry to have reported this false bug.
Is it possible to delete the bug report, or at least remove personal
information ?
Thanks.
------------------------------------------------------------------------
[2005-12-05 10:44:20] tony2001@php.net
Works fine here.
Please run
make clean before make and try again.
------------------------------------------------------------------------
[2005-12-05 10:05:39] clouard at gmail dot com
Description:
------------
With PHP 4.4.1 on Linux, using this configure command :
'./configure' '--with-apxs=/usr/sbin/apxs' '--with-mysql'
'--with-ldap'
'--enable-memory-limit'
memory_get_usage does NOT work (fatal error, unknown function),
phpinfo() does not return the memory limit even if set in php.ini.
After installing PHP 4.3.8 with the same configure command, it works
perfectly.
I did not test any version between 4.3.8 and 4.4.1.
Is this a regression ?
Thanks,
Jean-Christophe Clouard.
Reproduce code:
---------------
<?php
echo memory_get_usage();
?>
Expected result:
----------------
3024256 // or any result
Actual result:
--------------
Fatal error: Call to undefined function memory_get_usage() in
/srv/www/htdocs/test.php on line 3
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35553&edit=1