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.
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
Find the PHP7.2 version, download an X64 (my computer is 64-bit) Thread Safe, click download, as shown below:
Three, configure the expansion pack
1. Unzip the folder
Unzip the folder and find the php_seaslog.dll file, as shown below:
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:
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:
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: