Feature #88141

Warn about missing PHP PDO extension

Added by Franz Holzinger over 1 year ago. Updated 6 months ago.

Status:
Closed
Priority:
Could have
Assignee:
-
Category:
Install Tool
Target version:
-
Start date:
2019-04-12
Due date:
% Done:

100%

Estimated time:
0.50 h
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

The Install Tool warns about missing PHP extensions. Among them is not the PDO extension which is also required.

This leads to a stop during the installation.
Only the PHP error_log file gives a hint what is missing.

[12-Apr-2019 19:21:44 UTC] PHP Fatal error:  Uncaught Error: Class 'PDO' not found in /var/www/html/typo3_src-9.5.5/vendor/doctrine/dbal/lib/Doctrine/DBAL/DriverManager.php:181
Stack trace:
#0 /var/www/html/typo3_src-9.5.5/typo3/sysext/core/Classes/Database/ConnectionPool.php(153): Doctrine\DBAL\DriverManager::getConnection(Array)
#1 /var/www/html/typo3_src-9.5.5/typo3/sysext/core/Classes/Database/ConnectionPool.php(128): TYPO3\CMS\Core\Database\ConnectionPool->getDatabaseConnection(Array)
#2 /var/www/html/typo3_src-9.5.5/typo3/sysext/core/Classes/Database/ConnectionPool.php(82): TYPO3\CMS\Core\Database\ConnectionPool->getConnectionByName('Default')
#3 /var/www/html/typo3_src-9.5.5/typo3/sysext/core/Classes/Error/AbstractExceptionHandler.php(98): TYPO3\CMS\Core\Database\ConnectionPool->getConnectionForTable('sys_log')
#4 /var/www/html/typo3_src-9.5.5/typo3/sysext/core/Classes/Error/AbstractExceptionHandler.php(85): TYPO3\CMS\Core\Error\AbstractExceptionHandler->writeLog('Core: Exception...')
#5 /var/www/html/typo3_src-9.5.5/typo3/sysext/core/Classes/Err in /var/www/html/typo3_src-9.5.5/vendor/doctrine/dbal/lib/Doctrine/DBAL/DriverManager.php on line 181

Related issues

Related to TYPO3 Core - Task #85803: declare dependency to ext-PDO Closed 2018-08-10

Associated revisions

Revision e41f9b74 (diff)
Added by Georg Ringer 8 months ago

[TASK] Check for PHP extension PDO

Let the Install Tool check also for PHP extension PDO.
With #85803 the requirement has also been added to the composer.json
files.

Resolves: #88141
Releases: master
Change-Id: I9eb10f71db3d5111362833b3f07f2f687bf0ee69
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63553
Tested-by: TYPO3com <>
Tested-by: Christian Eßl <>
Tested-by: Anja Leichsenring <>
Reviewed-by: Oliver Bartsch <>
Reviewed-by: Christian Eßl <>
Reviewed-by: Anja Leichsenring <>

History

#1 Updated by Georg Ringer 8 months ago

  • Related to Task #85803: declare dependency to ext-PDO added

#2 Updated by Gerrit Code Review 8 months ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63553

#3 Updated by Georg Ringer 8 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#4 Updated by Benni Mack 6 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF