db2 - How to allocate more memory to a PHP job on the iSeries? -


when running php scripts on iseries, though set memory limit -1 in php.ini... php says runs out of memory around 256mb. i'm curious if there way allocate more memory job on iseries allow php allocate more memory.

finally figured out!

on iseries apache configuration must set following environment variable in httpd.conf file:

setenv="ldr_cntrl=maxdata=0x80000000" 

this allow access 2.25gb of memory in 1 php script via web server instead of 256mb

(in case using zendserver , had edit config file fastcgi.conf)

ref :

zend forum post

ibm reference


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -