Zen Cart Logo
Forums / General Questions / is there a CONSTANT available for 'memory_limit = xxx' found in php.ini ?

is there a CONSTANT available for 'memory_limit = xxx' found in php.ini ?

Views: 970

Results 1 to 3 of 3
28 Dec 2012, 3:56 PM
#1
tcarden avatar

tcarden

Zen Follower

Join Date:
Oct 2012
Posts:
282
Plugin Contributions:
0

is there a CONSTANT available for 'memory_limit = xxx' found in php.ini ?

When trying to add a column to the product table i got this error -

'Fatal error: Allowed memory size of 262144 bytes exhausted (tried to allocate 32 bytes) in /var/www/phpmyadmin/libraries/sqlparser.lib.php on line....'

supposedly this can be fixed by changing the line, 'memory_limit =value' in the php.ini file which i don't have access to right now.

when googling that error, i found on a WordPress support site that there was a corresponding CONSTANT available for that line in the php.ini file.

In the ZenCart set up is there such a CONSTANT that i could change the value for?

big thanks

28 Dec 2012, 7:33 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: is there a CONSTANT available for 'memory_limit = xxx' found in php.ini ?

No, Zen Cart doesn't tamper with that at all. It relies on your server's php.ini settings, or any of your customizations to it via a custom php.ini or even .htaccess if allowed in your server's configuration.

28 Dec 2012, 11:15 PM
#3
tcarden avatar

tcarden

Zen Follower

Join Date:
Oct 2012
Posts:
282
Plugin Contributions:
0

Re: is there a CONSTANT available for 'memory_limit = xxx' found in php.ini ?

ok thanks