Home > Article > Backend Development > How to install seaslog extension in PHP under win10
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.
Use phpinfo() to check the system environment and find the configuration information that needs to be downloaded.
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.
Download address: http://pecl.php.net/package/SeasLog
Find PHP7.2 version, download an
#1. Unzip the folderUnzip the folder and find the php_seaslog.dll file, as shown below:
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:
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:
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:
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!