win10 php install seaslog extension

Win10 php installation seaslog extension steps

 

1. Check the system environment

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

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

If Thread Safety=enabled, select the version of Thread Safe; if Thread Safety Safety=disabled. Choose the Non Thread Safe version.

2. Download the seaslog extension package

Download link: http://pecl.php.net/package/SeasLog
Insert picture description here

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

Three, configure the expansion pack

1. Unzip the folder

Unzip the folder and find the php_seaslog.dll file, as shown below:
Insert picture description here

2. Put the php_seaslog.dll file into the ext directory

Put the php_seaslog.dll file in the ext directory, if my ext directory is in
D:\wamp64\bin\php\php7.2.32\ext, then put the php_seaslog.dll file in this directory, as shown below:
Insert picture description here

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

Open the php.ini file, in the extension location, add the statement: extension=php_seaslog.dll to complete the configuration of the extension. As shown below:
Insert picture description here

Fourth, restart wampserver

Restart wampserver, the configuration is complete, refresh the page to view the information printed by phpinfo(), if Seaslog appears, the installation is successful, as shown in the following figure:
Insert picture description here

Guess you like

Origin blog.csdn.net/an17822307871/article/details/113833867