php/doc-en

Old configuration at the PDO installation page

Offen

#3.377 geöffnet am 12.05.2024

 (5 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)XML (882 Forks)auto 404
enhancementgood first issue

Repository-Metriken

Stars
 (596 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

From the manual page: https://php.net/pdo.installation


  1. Extensions don't need to be declared with file extensions anymore (both Unix and Windows). Examples:

Old:

extension=pdo_sqlite.so

Old:

extension=pdo_sqlite.dll

New:

extension=pdo_sqlite
  1. Extensions don't need to be declared with the php_ prefix (both Unix and Windows). Examples:

Old:

extension=php_pdo_sqlite

Example (newer way):

extension=pdo_sqlite

As mentioned by @cmb69, the newer syntax is supported after PHP 7.2.

Contributor Guide