From 8d23f41628caf996f55020ad39a7e6a15e0185ba Mon Sep 17 00:00:00 2001
From: Marc Delisle Simply copy ./config.inc.php from your previous installation into the newly
unpacked one. Configuration files from very old versions (2.3.0 or before) may
- require some tweaking as some options have been changed or removed.
You should not copy libraries/config.default.php over config.inc.php because the default configuration file diff --git a/libraries/common.inc.php b/libraries/common.inc.php index b732fda71..6a3944d86 100644 --- a/libraries/common.inc.php +++ b/libraries/common.inc.php @@ -48,15 +48,18 @@ if (defined('E_STRICT')) { unset($old_error_reporting); } -/** - * Avoid object cloning errors - */ -@ini_set('zend.ze1_compatibility_mode', false); +// at this point PMA_PHP_INT_VERSION is not yet defined +if (version_compare(phpversion(), '6', 'lt')) { + /** + * Avoid object cloning errors + */ + @ini_set('zend.ze1_compatibility_mode', false); -/** - * Avoid problems with magic_quotes_runtime - */ -@ini_set('magic_quotes_runtime', false); + /** + * Avoid problems with magic_quotes_runtime + */ + @ini_set('magic_quotes_runtime', false); +} /** * core functions