php/doc-en

Old configuration at the PDO installation page

Aperta

#3377 aperta il 12 mag 2024

 (5 commenti) (0 reazioni) (0 assegnatari)XML (882 fork)auto 404
enhancementgood first issue

Metriche repository

Star
 (596 stelle)
Metriche merge PR
 (Merge medio 99g 23h) (90 PR mergiate in 30 g)

Descrizione

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.

Guida contributor