php/doc-en

Old configuration at the PDO installation page

開放

#3,377 建立於 2024年5月12日

 (5 則留言) (0 個反應) (0 位負責人)XML (882 個分叉)auto 404
enhancementgood first issue

倉庫指標

星標
 (596 顆星)
PR 合併指標
 (平均合併 99天 23小時) (30 天內合併 90 個 PR)

描述

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.

貢獻者指南