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

How to install seaslog extension in PHP under win10

醉折花枝作酒筹
Release: 2023-03-09 21:56:01
forward
1542 people have browsed it

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!

Related labels:
php
source:csdn.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template