php / doc-en

English PHP documentation
478 stars 709 forks source link

Incorrect configuration at the PDO installation page #3377

Open thiagodp opened 2 months ago

thiagodp commented 2 months ago

From manual page: https://php.net/pdo.installation


  1. Extensions don't need to be declared with file extension (both Unix and Windows). Examples:

Wrong:

extension=pdo_sqlite.so

Wrong:

extension=pdo_sqlite.dll

Correct:

extension=pdo_sqlite
  1. Extensions don't need to be declared with the php_ prefix (both Unix and Windows). Examples:

Wrong:

extension=php_pdo_sqlite

Example (correct):

extension=pdo_sqlite
Girgias commented 2 months ago

They used to be required, and these docs are "old". Feel free to submit a PR to fix this issue.