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.

贡献者指南