Home >Backend Development >PHP Tutorial >A brief discussion on how to install the php seaslog extension under Windows 10

A brief discussion on how to install the php seaslog extension under Windows 10

青灯夜游
青灯夜游forward
2021-02-26 18:02:252993browse

This article will introduce to you how to install the php seaslog extension under Windows 10. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to everyone.

A brief discussion on how to install the php seaslog extension under Windows 10

[Recommended study: "PHP Video Tutorial"]

1. Check the system environment

Use phpinfo() to check the system environment and find the configuration information that needs to be downloaded.

A brief discussion on how to install the php seaslog extension under Windows 10

Thread Safety = enabled is thread safe
Thread Safety = disabled is thread unsafe

Thread Safety=enabled, select the Thread Safe version ;Thread Safety Safety=disabled. Select the Non Thread Safe version.

2. Download seaslog expansion package

Download address: http://pecl.php.net/package/SeasLog
A brief discussion on how to install the php seaslog extension under Windows 10

Find the PHP7.2 version, download an X64 (my computer is 64-bit) Thread Safe, click to download, as shown below:

A brief discussion on how to install the php seaslog extension under Windows 10

三, Configure the expansion package

1. Unzip the folder

Extract the folder and find the php_seaslog.dll file, as shown below:

A brief discussion on how to install the php seaslog extension under Windows 10

2. Place the php_seaslog.dll file in the ext directory

Put the php_seaslog.dll file in the ext directory. For example, my ext directory is in D :\wamp64\bin\php\php7.2.32\ext, then place the php_seaslog.dll file in this directory, as shown below:

A brief discussion on how to install the php seaslog extension under Windows 10

3. Open php.ini file, configure extension

Open the php.ini file, and in the extension location, add the statement: extension=php_seaslog.dll to complete the extension configuration. As shown below:

A brief discussion on how to install the php seaslog extension under Windows 10

4. Restart wampserver

Restart wampserver, the configuration is completed, refresh the page to view the information printed by phpinfo(), When Seaslog appears, the installation is successful, as shown below:
A brief discussion on how to install the php seaslog extension under Windows 10

For more programming-related knowledge, please visit: Programming Video! !

The above is the detailed content of A brief discussion on how to install the php seaslog extension under Windows 10. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete