PHP Live's Recommended PHP Settings

SUMMARY

To run PHP Live we have established some basic recommended settings for your php.ini. These are simply OSI Codes' recommended settings, PHP Live may still run even if your settings are not exactly like those listed.

The php.ini file is typically located at C:\WINDOWS\php.ini or /usr/local/lib/php.ini

RECOMMENDED SETTINGS

short_open_tag = On

error_reporting = E_ALL & ~E_NOTICE

display_errors = On

register_globals = Off

file_uploads = On

upload_tmp_dir = (This can be set to any existing directory i.e. /tmp or C:\Temp. We just recommend that it is defined)

session.save_handler = files

session.save_path = /tmp (This can be set to any existing directory i.e. /tmp or C:\Temp. We just recommend that it is defined)

session.gc_maxlifetime = 1440

session.use_cookies = 1

 Article ID: 98
 Created: November 21, 2005
 Updated: November 21, 2005
 Rating: 3.93 (91 votes)
(91 votes)

Can't find your answer? Ask a Question, and we'll get back with you.

  © OSI Codes, Inc. All Rights Reserved