2017-10-14 25 views

回答

0

我解決了這個問題,重新定義了PHP_INI_SCAN_DIR並指定了擴展名作爲php.exe的參數。

set PHP_INI_SCAN_DIR=D:\home\site\wwwroot\ 
php.exe -dextension=D:\home\site\path_to_your_extension.dll -f "D:\home\site\wwwroot\your_php_file.php" 

對於Piwik,它可能看起來如下:

set PHP_INI_SCAN_DIR=D:\home\site\wwwroot\ 
php.exe -dextension=D:\home\site\bin\php71\php_igbinary.dll -dextension=D:\home\site\bin\php71\php_redis.dll -dextension=D:\home\site\bin\php71\php_geoip.dll -f "D:\home\site\wwwroot\console" core:archive --url=https://your.url.com/ 
相關問題