Add database extension laragon #2

Open
opened 3 years ago by rbsetiawan · 0 comments
Owner

Add database extension laragon

system requirment compability

  • SQL Server extension for Windows

    microsoft : System requirements for the Microsoft Drivers for PHP for SQL Server

    Driver file PHP version Thread safe? Use with PHP .dll
    32-bit php_sqlsrv_80_nts.dll
    32-bit php_pdo_sqlsrv_80_nts.dll 8.0 no 32-bit php8.dll
    32-bit php_sqlsrv_80_ts.dll
    32-bit php_pdo_sqlsrv_80_ts.dll 8.0 yes 32-bit php8ts.dll
    64-bit php_sqlsrv_80_nts.dll
    64-bit php_pdo_sqlsrv_80_nts.dll 8.0 no 64-bit php8.dll
    64-bit php_sqlsrv_80_ts.dll
    64-bit php_pdo_sqlsrv_80_ts.dll 8.0 yes 64-bit php8ts.dll
    32-bit php_sqlsrv_81_nts.dll
    32-bit php_pdo_sqlsrv_81_nts.dll 8.1 no 32-bit php8.dll
    32-bit php_sqlsrv_81_ts.dll
    32-bit php_pdo_sqlsrv_81_ts.dll 8.1 yes 32-bit php8ts.dll
    64-bit php_sqlsrv_81_nts.dll
    64-bit php_pdo_sqlsrv_81_nts.dll 8.1 no 64-bit php8.dll
    64-bit php_sqlsrv_81_ts.dll
    64-bit php_pdo_sqlsrv_81_ts.dll 8.1 yes 64-bit php8ts.dll
    32-bit php_sqlsrv_82_nts.dll
    32-bit php_pdo_sqlsrv_82_nts.dll 8.2 no 32-bit php8.dll
    32-bit php_sqlsrv_82_ts.dll
    32-bit php_pdo_sqlsrv_82_ts.dll 8.2 yes 32-bit php8ts.dll
    64-bit php_sqlsrv_82_nts.dll
    64-bit php_pdo_sqlsrv_82_nts.dll 8.2 no 64-bit php8.dll
    64-bit php_sqlsrv_82_ts.dll
    64-bit php_pdo_sqlsrv_82_ts.dll 8.2 yes 64-bit php8ts.dll

implementation

php_pdo_sqlsrv_82_nts_x64.dll
php_sqlsrv_82_nts_x64.dll

  • open phpinfo
    find: sqlsvr
    image
    image
    image
# Add database extension laragon ## system requirment compability - <details> <summary>SQL Server extension for Windows</summary> [microsoft](https://learn.microsoft.com/en-us/sql/connect/php/system-requirements-for-the-php-sql-driver?view=sql-server-ver16) : System requirements for the Microsoft Drivers for PHP for SQL Server |Driver file |PHP version |Thread safe? |Use with PHP .dll | |--- |--- |--- |--- | |32-bit php_sqlsrv_80_nts.dll | | | | |32-bit php_pdo_sqlsrv_80_nts.dll |8.0 |no |32-bit php8.dll | |32-bit php_sqlsrv_80_ts.dll | | | | |32-bit php_pdo_sqlsrv_80_ts.dll |8.0 |yes |32-bit php8ts.dll | |64-bit php_sqlsrv_80_nts.dll | | | | |64-bit php_pdo_sqlsrv_80_nts.dll |8.0 |no |64-bit php8.dll | |64-bit php_sqlsrv_80_ts.dll | | | | |64-bit php_pdo_sqlsrv_80_ts.dll |8.0 |yes |64-bit php8ts.dll | |32-bit php_sqlsrv_81_nts.dll | | | | |32-bit php_pdo_sqlsrv_81_nts.dll |8.1 |no |32-bit php8.dll | |32-bit php_sqlsrv_81_ts.dll | | | | |32-bit php_pdo_sqlsrv_81_ts.dll |8.1 |yes |32-bit php8ts.dll | |64-bit php_sqlsrv_81_nts.dll | | | | |64-bit php_pdo_sqlsrv_81_nts.dll |8.1 |no |64-bit php8.dll | |64-bit php_sqlsrv_81_ts.dll | | | | |64-bit php_pdo_sqlsrv_81_ts.dll |8.1 |yes |64-bit php8ts.dll | |32-bit php_sqlsrv_82_nts.dll | | | | |32-bit php_pdo_sqlsrv_82_nts.dll |8.2 |no |32-bit php8.dll | |32-bit php_sqlsrv_82_ts.dll | | | | |32-bit php_pdo_sqlsrv_82_ts.dll |8.2 |yes |32-bit php8ts.dll | |64-bit php_sqlsrv_82_nts.dll | | | | |64-bit php_pdo_sqlsrv_82_nts.dll |8.2 |no |64-bit php8.dll | |64-bit php_sqlsrv_82_ts.dll | | | | |64-bit php_pdo_sqlsrv_82_ts.dll |8.2 |yes |64-bit php8ts.dll | </details> ## implementation - cek php version max 8.2.x | ts or nts | 32-bit or 64-bit - download sql server php entension : https://learn.microsoft.com/en-us/sql/connect/php/download-drivers-php-sql-server?view=sql-server-ver16 ![image](/attachments/2e30b675-121b-4ba6-85ab-e816e7f4dc78) - Edit your `php.ini` file to add the following lines in the Extensions section example php 8.2.9-nts-x64: ``` php_pdo_sqlsrv_82_nts_x64.dll php_sqlsrv_82_nts_x64.dll ``` - open phpinfo find: sqlsvr ![image](/attachments/9db4ddb8-799d-467c-be9a-5a391388170b) ![image](/attachments/fead6b10-1eb9-4d21-8929-8a83a24415fa) ![image](/attachments/6d7f83f6-b0ad-4255-bfff-298544b10e62)
rbsetiawan added the
Laragon
label 3 years ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.