Changing Doctrine2 requires 5.3.3 updating docs

skala
Julio Montoya 12 years ago
parent 45733b3a6f
commit 4f19c7ea56
  1. 2
      composer.json
  2. 4
      documentation/installation_guide.html
  3. 4
      documentation/installation_guide_es_ES.html
  4. 4
      main/inc/lib/api.lib.php

@ -38,7 +38,7 @@
}
],
"require": {
"php": ">=5.3.2",
"php": ">=5.3.3",
"silex/silex": "1.*",
"symfony/console" : "~2.3",
"symfony/twig-bridge": "~2.3",

@ -73,7 +73,7 @@ optimal flexibility, remote control and scalability. <br />
<br />
Chamilo is mainly a LMS running from <span style="font-weight: bold;">Apache (1.3, 2.0 or 2.2)</span>, with a <span style="font-weight: bold;">MySQL 5.1 (or MariaDB)</span> database backend and <span style="font-weight: bold;">PHP 5.3 (or 5.4)</span> (the so called <span style="font-weight: bold;">AMP</span> trilogy). <br />
Chamilo is mainly a LMS running from <span style="font-weight: bold;">Apache (1.3, 2.0 or 2.2)</span>, with a <span style="font-weight: bold;">MySQL 5.1 (or MariaDB)</span> database backend and <span style="font-weight: bold;">PHP 5.3.3 (or 5.4)</span> (the so called <span style="font-weight: bold;">AMP</span> trilogy). <br />
<br />
@ -300,7 +300,7 @@ Past Chamilo releases required register_globals to be set to On. This is
no longer necessary, and should preferably be set to Off.
<span class="muted">It is considered a bad choice in terms of security to set register_globals to On.</a></p>
<p><strong>Note:</strong> if using PHP 5.3 or higher, you also need to set
<p><strong>Note:</strong> if using PHP 5.3.3 or higher, you also need to set
your <em>date.timezone</em> setting to whatever your server's timezone is.
For example, if your server is in the 'America/New_York' timezone, set this
in your PHP .ini file:</p>

@ -73,7 +73,7 @@
Chamilo puede ser instalado indiferentemente en servidores Windows, Linux, Mac OS X y UNIX. Sin embargo, nosotros recomendamos el uso de un servidor Linux para una óptima flexibilidad, control remoto y escalabilidad.
</p>
<p>
Chamilo es fundamentalmente un LMS que se ejecuta con Apache (1.3, 2.0 o 2.2), MySQL 5.1 (o MariaDB) y PHP 5.3 (o 5.4) (trilogía también llamada AMP).
Chamilo es fundamentalmente un LMS que se ejecuta con Apache (1.3, 2.0 o 2.2), MySQL 5.1 (o MariaDB) y PHP 5.3.3 (o 5.4) (trilogía también llamada AMP).
</p>
<p>
Todo este software es software de código abierto y está disponible libremente.
@ -228,7 +228,7 @@ En versiones de Chamilo/Dok€os anteriores se requería que register_globals es
necesario, puede (y debería) estar configurado en Off y Chamilo funcionará bien.<span>Se considera una mala elección en términos de seguridad configurar register_globals a On.</span>
</p>
<p><strong>Nota:</strong> si se usa PHP 5.3 o superior, se necesita configurar la variable <em>date.timezone</em> a la zona horaria de su servidor.
<p><strong>Nota:</strong> si se usa PHP 5.3.3 o superior, se necesita configurar la variable <em>date.timezone</em> a la zona horaria de su servidor.
Por ejemplo, si su servidor está en la zona horaria 'America/Lima', modificar en el php.ini:</p>
<div class="code">

@ -14,7 +14,7 @@ use \ChamiloSession as Session;
* Constants declaration
*/
// PHP version requirement.
define('REQUIRED_PHP_VERSION', '5.3');
define('REQUIRED_PHP_VERSION', '5.3.3');
define('REQUIRED_MIN_MEMORY_LIMIT', '32');
define('REQUIRED_MIN_UPLOAD_MAX_FILESIZE', '10');
define('REQUIRED_MIN_POST_MAX_SIZE', '10');
@ -6023,7 +6023,7 @@ function api_block_course_item_locked_by_gradebook($item_id, $link_type, $course
* @return void
*/
function api_check_php_version() {
if (!function_exists('version_compare') || version_compare( phpversion(), REQUIRED_PHP_VERSION, '<')) {
if (version_compare(phpversion(), REQUIRED_PHP_VERSION, '<')) {
return false;
}
return true;

Loading…
Cancel
Save