• PHP Installation: Required settings in php.ini (03-24-2012)

Need assistance for CONTENTdm?

PHP Installation: Required settings in php.ini (version 6)

Last review: March 24, 2012

Description: For the CONTENTdm 6 Server and Website to function correctly, certain settings are required in php.ini.


CONTENTdm PHP files are dependent on settings in the php.ini file.

The following settings apply to both Windows/IIS and Linux/Apache configurations:

1. Turn off the "magic quotes" feature:

magic_quotes_gpc = Off

2. Enable short tags:

short_open_tag = On

3. Enable opening of remote URLs:

allow_url_fopen = On

4. Set a value for "date.timezone", e.g.:

date.timezone = America/Los_Angeles

If you are experiencing difficulties on an earlier version of CONTENTdm, your issue may have been fixed by a later release.

See CONTENTdm Downloads and Add-ons.