- 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 - Install Apache: (win64)
https://www.apachelounge.com/download/VC11/ - Edit httpd.conf
- Install service:
httpd -k install -n “Apache 2.4” - Install PHP
If using laravel which require openssl_encrypt function, you must choose threat safe version:
http://windows.php.net/download#php-5.6 - Edit php.ini
- Enable .htaccess in Apache:
- Set AllowOverride All for document directory.
- Enable rewrite module:
LoadModule rewrite_module modules/mod_rewrite.so
Reference: