Added php access to control memory limit