php/doc-en

Old configuration at the PDO installation page

Ouverte

#3 377 ouverte le 12 mai 2024

 (5 commentaires) (0 réaction) (0 personne assignée)XML (882 forks)auto 404
enhancementgood first issue

Métriques du dépôt

Stars
 (596 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

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.

Guide contributeur