-
Notifications
You must be signed in to change notification settings - Fork 717
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Old configuration at the PDO installation page #3377
Comments
They used to be required, and these docs are "old". Feel free to submit a PR to fix this issue. |
Note that the shorthands are only supported as of PHP 7.2.0, so maybe stick with the still supported, but more verbose filenames. |
@cmb69 Nice. Proposal updated. |
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 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. :) |
From manual page: https://php.net/pdo.installation
Old:
extension=pdo_sqlite.so
Old:
extension=pdo_sqlite.dll
New:
extension=pdo_sqlite
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.
The text was updated successfully, but these errors were encountered: