You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Old configuration at the PDO installation page #3377
I only now had a closer look at https://php.net/pdo.installation, and appears to me that there are worse issues than using the short form of dynamically loading extensions, or not. At least the Windows part is out-dated; you can't load php_pdo.dll because there is no such DLL, since PDO is enforced to be built statically on Windows as of php/php-src@265d2e6 (that was for PHP 5.4.0). (Maybe that comment is only about the loading order, but nonetheless, there is no php_pdo.dll for years, even if you roll your own builds.) Then dl() is mentioned as option to load the extension, and the note below states you have to restart your Webserver. However, dl() is not supported with any Webserver SAPI. Then this doc page mentions pdo_informix and pdo_mssql, although there are no DLLs available for the former for years, and the latter is not distributed with the official Windows builds for maybe even longer (I'm not even sure if it can still be built; at least users should prefer pdo_sqlsrv). Nice – this paragraph seems to have as many words, as the whole Windows section there.
And I have not even checked the Unix section; maybe someone will do that.
Nonetheless, thank you @thiagodp for the bug report. At least that triggered a partial review of that page. :)
Activity
Girgias commentedon May 13, 2024
They used to be required, and these docs are "old". Feel free to submit a PR to fix this issue.
cmb69 commentedon Jul 21, 2024
Note that the shorthands are only supported as of PHP 7.2.0, so maybe stick with the still supported, but more verbose filenames.
[-]Incorrect configuration at the PDO installation page[/-][+]Old configuration at the PDO installation page[/+]thiagodp commentedon Jul 21, 2024
@cmb69 Nice. Proposal updated.
cmb69 commentedon Jul 30, 2024
I only now had a closer look at https://php.net/pdo.installation, and appears to me that there are worse issues than using the short form of dynamically loading extensions, or not. At least the Windows part is out-dated; you can't load php_pdo.dll because there is no such DLL, since PDO is enforced to be built statically on Windows as of php/php-src@265d2e6 (that was for PHP 5.4.0). (Maybe that comment is only about the loading order, but nonetheless, there is no php_pdo.dll for years, even if you roll your own builds.) Then
dl()is mentioned as option to load the extension, and the note below states you have to restart your Webserver. However,dl()is not supported with any Webserver SAPI. Then this doc page mentions pdo_informix and pdo_mssql, although there are no DLLs available for the former for years, and the latter is not distributed with the official Windows builds for maybe even longer (I'm not even sure if it can still be built; at least users should prefer pdo_sqlsrv). Nice – this paragraph seems to have as many words, as the whole Windows section there.And I have not even checked the Unix section; maybe someone will do that.
Nonetheless, thank you @thiagodp for the bug report. At least that triggered a partial review of that page. :)
AllenJB commentedon Oct 7, 2025
These issues appear to be resolved on the current version of the page (it had a Windows specific update in Feb)
Modernize PDO installation documentation
Modernize PDO installation documentation
Modernize PDO installation documentation
Modernize PDO installation documentation (#5277)