Home >Backend Development >PHP Problem >How to install seaslog extension in PHP under win10

How to install seaslog extension in PHP under win10

醉折花枝作酒筹
醉折花枝作酒筹forward
2021-05-25 17:15:471541browse

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

How to install seaslog extension in PHP under win10

1. Check the system environment

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

How to install seaslog extension in PHP under win10

Thread Safety = enabled is thread safe

Thread Safety = disabled is thread unsafe

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

2. Download the seaslog expansion package

Download address: http://pecl.php.net/package/SeasLog

How to install seaslog extension in PHP under win10

Find PHP7.2 version, download an

#1. Unzip the folder

How to install seaslog extension in PHP under win10 Unzip the folder and find the php_seaslog.dll file, as shown below:

##2. Copy the php_seaslog.dll file Put it 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: How to install seaslog extension in PHP under win10

3. Open the php.ini file and configure the extension

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

How to install seaslog extension in PHP under win10

4. Restart wampserver

Restart wampserver, the configuration is completed, refresh the page to view the information printed by phpinfo(), if Seaslog appears, the installation is successful. As shown below:

How to install seaslog extension in PHP under win10

Recommended learning:

php video tutorial

The above is the detailed content of How to install seaslog extension in PHP under win10. 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