php/doc-en

Old configuration at the PDO installation page

オープン

#3,377 opened on 2024/05/12

 (5 件のコメント) (0 件のリアクション) (0 人の担当者)XML (882 件のフォーク)auto 404
enhancementgood first issue

Repository metrics

Stars
 (596 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド