ID:               32890
 User updated by:  subramanian dot palanirajan at cognizant dot com
 Reported By:      subramanian dot palanirajan at cognizant dot com
-Status:           Bogus
+Status:           Open
 Bug Type:         PHP options/info functions
 Operating System: Windows XP
 PHP Version:      5.0.3
 New Comment:

Sugar is not part of the picture (although the original description may
have given that impression).  PHP was built with "--enable-memory-limit"
defined, but although other changes in the php.ini file are being picked
up, changes to memory_limit are not.  (Note as a workaround, I created a
build that had the hardcoded default for memory_limit changed in main.c
from 8 to 12.)  phpinfo() shows:

Configure Command:  cscript /nologo configure.js
"--enable-prefix=C:\dev\php5"
"--with-extra-includes=../php_build/includes"
"--with-extra-libs=../php_build/libs" "--enable-apache2handler"
"--with-mysql" "--enable-memory-limit"
...
Configuration File (php.ini) Path  C:\WINDOWS\php.ini  
...
memory_limit 12M 12M

even though the php.ini file at that location contains

memory_limit = 11      ; Maximum amount of memory a script may consume


Previous Comments:
------------------------------------------------------------------------

[2005-04-29 13:13:29] [EMAIL PROTECTED]

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 check the code of the CRM to see how does it find that the
memory limit is not > 10M. Then if something is wrong please provide us
with a short reproducing script.

Thank you

------------------------------------------------------------------------

[2005-04-29 12:58:53] subramanian dot palanirajan at cognizant dot com

Description:
------------
I tried to deploy SugarCRM 2.5.1d on PHP 5.0.3 (on Windows XP). Sugar
demands a minumim memory limit allocation of 10 M. I updated the
php.ini file at the following location

memory_limit = 11M      ; Maximum amount of memory a script may consume
(8MB)

I restarted Apache after updating the php.ini file.

Still the warning does not go away when i try to run SugarCRM.The text
of the warning is as follows.

"PHP Memory Limit >= 10M Warning: (Set this to 10M or larger in your
php.ini file)"

Please note that I have compiled PHP with the "--enable-memory-limit"
option. I do the following steps to compile PHP.

> buildconf.bat

> cscript.exe /nologo configure.js --enable-prefix=C:\dev\php5
--with-extra-includes=../php_build/includes
--with-extra-libs=../php_build/libs --enable-apache2handler
--with-mysql --enable-memory-limit

> nmake.exe install

I don't know if it is relevant, but I compile PHP from within a Cygwin
shell, but I still compile only with VC++ compiler (pure Windows
binary).



Expected result:
----------------
After setting the memory limit in the php.ini file to greater than 10 M
and restarting Apache, I expect the SugarCRM warning to disappear.


Actual result:
--------------
The following warning comes up in the "System Check" performed by
SugarCRM upon install.

PHP Memory Limit >= 10M Warning: (Set this to 10M or larger in your
php.ini file) 


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=32890&edit=1

Reply via email to