PDA

View Full Version : PHP Settings



John
Thu 17th May '01, 11:29am
What settings do I need to have set in PHP?

John
Thu 17th May '01, 11:41am
You must have the following:

- PHP 3.0.9/PHP 4.0.0
- MySQL support
- PCRE support
- track_vars ON
- register_globals ON
- magic_quotes_sybase OFF

The following are all optional, but recommended:
- magic_quotes_runtime OFF
- magic_quotes_gpc OFF
- safe_mode OFF
- upload_max_filesize 2097152
- open_basedir <EMPTY>
- gpc_order GPC
- variables_order EGPCS
- ZLIB compiled
- latest PHP 4 version

There are several ways of configuring PHP settings. The easiest way is to edit your php.ini file, and make the changes to affect the whole of PHP. Please ask you host if you do not have access to this file.

For more information about configuting PHP, please see this page:
http://www.php.net/manual/configuration.php