30.07.2012 Views

Reference Guide

Reference Guide

Reference Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Name Recommended<br />

Value<br />

Zend Server<br />

Default<br />

Description<br />

Zend Server Best Practices<br />

The maximum execution time is<br />

not affected by system calls,<br />

stream operations, etc. See the<br />

set_time_limit() function for more<br />

details.<br />

You cannot change this setting<br />

with ini_set() when running in safe<br />

mode. The only workaround is to<br />

turn off safe mode or to change the<br />

time limit in the php.ini.<br />

Your Web server may have other<br />

timeout configurations that can<br />

also interrupt PHP execution.<br />

Apache has a Timeout directive<br />

and IIS has a CGI timeout function.<br />

Both default to 300 seconds. See<br />

your Web server documentation for<br />

specific details.<br />

memory_limit 128M 128M Sets the maximum amount of<br />

memory (in bytes) that a script can<br />

allocate. This helps prevent poorly<br />

written scripts from consuming all<br />

the available memory on a server.<br />

This setting can also be fine-tuned<br />

during development to reach an<br />

optimal setting.<br />

When an integer is used, the value<br />

is measured in bytes.<br />

Note: To have no memory limit, set<br />

this directive to -1.<br />

output_buffering 4096 4096 Allows you to buffer the PHP<br />

output instead of having it sent<br />

directly as soon as it is generated.<br />

401

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!