How to activate '–enable-memory-limit' configure option, in WHM/SSH?

basketmen

Well-Known Member
Sep 9, 2010
128
1
66
Hi guys,

in a webmaster forum, i cant set different memory_limit value only in a file using instruction from other member. Someone told me the Server PHP installation must be compiled with the –enable-memory-limit configure option


so how to do that, in WHM/SSH?




if its in whm >> EasyApache (Apache Update), i can using easy apache, but which step exactly to do this? :

* 1. Profile
* 2. Apache Version
* 3. PHP Major Version
* 4. PHP Minor version
* 5. Short Options List
* 6. Exhaustive Options List
* 7. Save
* 8. Build
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
PHP 5.2.1+ should allow setting memory_limit variable without having to pass --enable-memory-limit during PHP compile time. Can you please indicate how setting memory_limit in /usr/local/lib/php.ini or via the account's own php.ini (if using suPHP) is not working?