function DatabaseTasks_pgsql8b7c:f320:99b9:690f:4595:cd17:293a:c069heckPHPVersion DatabaseTasks_pgsql8b7c:f320:99b9:690f:4595:cd17:293a:c069heckPHPVersion() Check PHP version. There are two bugs in PDO_pgsql affecting Drupal:  in versions < 5.2.7, PDO_pgsql refuses to insert an empty string into a NOT NULL BLOB column. See: http://bugs.php.net/bug.php?id=46249
 in versions < 5.2.11 and < 5.3.1 that prevents inserting integer values into numeric columns that exceed the PHP_INT_MAX value. See: http://bugs.php.net/bug.php?id=48924   File
 includes/database/pgsql/install.inc, line 76 Install functions for PostgreSQL embedded database engine.  Class
 
DatabaseTasks_pgsql   Code function checkPHPVersion() {
  if (!version_compare(PHP_VERSION, '5.2.11', '>=') || (version_compare(PHP_VERSION, '5.3.0', '>=') && !version_compare(PHP_VERSION, '5.3.1', '>='))) {
    $this->fail(st('The version of PHP you are using has known issues with PostgreSQL. You need to upgrade PHP to 5.2.11, 5.3.1 or greater.'));
  }
}


    
{'path': 'public/docs/drupal~7/includes-database-pgsql-install.inc/function/databasetasks_pgsql-checkphpversion/7.x.html', 'source': 'DevDocs.IO'}