Category Archives: Windows

Fix Mouse Lag (Latency) in Windows 10

Disable “Enable resampling scroll events” in Chrome config:

chrome://flags/

Chrome Cursor Latency Fix

Disable “Use hardware to accelerate…” in advanced setting page

FMAPP.exe Issue:

C:\Program Files\Realtek\Audio\HDA\FMAPP.exe
Rename it to FMAPP_bak.exe

  1. http://kenlai.blogspot.com/2015/08/win10-mouse-lag.html
  2. https://www.tenforums.com/drivers-hardware/14107-windows-10-mouse-lagging-2.html#post336879

調低滑鼠回報速率:

https://forum.gamer.com.tw/C.php?bsn=60030&snA=506100

Update audio driver for your motherboard.

To me is Gigabyte / Realtek:
https://www.gigabyte.com/tw/Motherboard/G1Sniper-Z6-rev-10#support-dl-driver-audio

Disable Flash in Chrome settings:

https://stackoverflow.com/questions/42765418/how-to-disable-flash-in-chrome

Update Intel HD Graphic Driver

https://answers.microsoft.com/zh-hant/windows/forum/windows8_1-performance/%E5%95%8F%E9%A1%8C%E5%B7%B2%E8%A7%A3%E6%B1%BA/d6ebd54f-7f20-4d9a-b7d2-70a91ff0f416

Change to wired mouse (Final Solution)

https://answers.microsoft.com/en-us/windows/forum/all/my-mouse-lags-all-the-time-windows-10-wireless/53f14673-7d1d-4f9e-9c44-4e7748903acd

Other Reference:

fopen filename can not be empty error (or not readable exception)

When uploading a file with Voyager, following errors happen:

 

Solution:

Add IUSR to the folder which “upload_tmp_dir” points to. Normally “C:\Windows\Temp” in windows.

Reference:

Notes to install PHP 7.2 and Laravel on windows server 2008 (SQL Server)

https://laravel-news.com/subfolder-install

cd inetpub/laravel

comment “;extension=php_mysql.dll” in php.ini

Install url-rewrite module for IIS

https://www.iis.net/downloads/microsoft/url-rewrite

Import rewrite rules:

  • https://stackoverflow.com/questions/15018538/laravel-htaccess-rewrite-rule-conversion-to-iis

install failed request tracing

  • https://serverfault.com/questions/309135/dont-see-failed-request-tracing-in-iis-7-manager
  • https://docs.microsoft.com/en-us/iis/troubleshoot/using-failed-request-tracing/troubleshooting-failed-requests-using-tracing-in-iis

Change laravel structure:

Change path in public/index.php
require __DIR__.’/../../../../laravel/vendor/autoload.php’;
$app = require_once __DIR__.’/../../../../laravel/bootstrap/app.php’;

Add mofify permission for user “IUSR” to “D:\Inetpub\laravel\storage\framework\sessions”

SQL Server related:

Download sql drivers and copy “php_pdo_sqlsrv_72_ts_x64.dll” to php extension folder

Add this line in php.ini:

extension=php_pdo_sqlsrv_72_ts_x64.dll

Change database configs in .env:

  • Change DB port to 1433

Install Apache + PHP + MySQL Manually on Windows Server 2008

  1. Install Visual C++ Redistributable 2012
    https://www.microsoft.com/en-US/download/details.aspx?id=30679
    Important!! 
    VC version is very very very important! VC 2012 = VC11, Apache and PHP must be the same version VC11
  2. Install Apache: (win64)
    https://www.apachelounge.com/download/VC11/
  3. Edit httpd.conf
  4. Install service:
    httpd -k install -n “Apache 2.4”
  5. Install PHP
    If using laravel which require openssl_encrypt function, you must choose threat safe version:
    http://windows.php.net/download#php-5.6
  6. Edit php.ini
  7. Enable .htaccess in Apache:
    1. Set AllowOverride All for document directory.
    2. Enable rewrite module:
      LoadModule rewrite_module modules/mod_rewrite.so

Reference: