[PHP]
fastcgi.impersonate = 1
cgi.fix_pathinfo = 0
cgi.force_redirect = 0
open_basedir = "C:\Windows\TEMP\;C:/inetpub/wwwroot/"
extension_dir = "C:/php/ext/"
error_log = "C:/php_error.log"
short_open_tag = On
[Session]
session.save_path = "C:\Windows\TEMP\"
Next go to Control Panel > System and Security > Administrative Tools and click IIS Manager.Request path: *.php Module: FastCgiModule Executable: C:\php\php-cgi.exe Name: FastCGI
Restart IIS server and go to the C:\inetpub\wwwroot
<?php phpinfo();
Open your browser and go to this location http://localhost/phpinfo.php and check out if you have a PHP information page.
CREATE DATABASE vermis;
and next create user vermis identified by password vermis which has access to the vermis database.
GRANT ALL PRIVILEGES ON vermis.* to vermis@localhost identified by 'vermis';
Next you need to load database structure from database.sql file into your new vermis database.
<?php
return array(
'environment' => 'prod',
'prod' => array(
'baseHost' => 'http://localhost',
'baseUri' => '/',
'locale' => 'en_US',
'uploadMaxSize' => 1048576, // 1MB
'dateFormat' => 'Y-m-d H:i:s',
'mailer' => array(
'enable' => false,
'from' => 'no-reply@your-domain.tld',
'titleHeader' => 'Vermis'
),
'database' => array(
'driver' => 'mysql',
'host' => 'localhost',
'name' => 'vermis',
'user' => 'myuser',
'password' => 'mypassword',
'port' => 3306,
'debug' => false
),
'throwExceptions' => true
)
);
Physical path: C:\inetput\wwwroot\vermis
Restart your server and check if you see this page: http://localhost/index.php
[ISAPI_Rewrite]
RewriteEngine On
RewriteBase /
RepeatLimit 20
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule !\.(js|ico|gif|jpg|jpeg|png|css|htm|html|htc)$ index.php
Restart your IIS server!