Loading...
 
Skip to main content

History: IisInstall

Preview of version: 19

  • See Upgrading Major TikiWiki Releases help at UserPagedaaave
  • See UpgradeTo18 for upgrading from 1.7 to 1.8

Issues
  1. There's an error message after adding a blog, but the blog is added correctly
  2. Don't use the Mozilla theme or you'll be sorry
  3. Office documents don't properly download from IE. Right click on the attachment and choose "Save Target As..."
  4. You'll get an error message if you click on "last forum topics" on the right and try to edit the post
    • Renavigate to the post using the forum list and then edit the post
  5. Reading a forum thread that doesn't have any comments results in the right sidebar being displayed underneath the left sidebar

Installing IIS
  • Go to the control panel, add/remove programs, and click the add/remove Windows Components button
  • Select IIS
  • You may need to reboot
  • Go to the start menu, followed by Windows Update
  • Install all service packs and critical updates

Installing MySQL
  • Download MySQL
  • How to install mySQL on Windows
  • Install MySQL as a service as described in the above link
  • By default, it is possible to log into MySQL with no username or password. I don't know how to change this behavior, but it's not a recommended configuration.

Installing TikiWiki
If you are installing TW 1.8 or later, don't follow these instuctions and move to the next section
  • Download TikiWiki
  • Using WinZip, extract to c:\ using folder names
  • Versions prior to 1.8 only Enter the following from the command line:
    • cd /d c:\tikiwiki_* (the actual directory depends on which version you have installed)
    • mkdir templates_c
    • Go to Windows Explorer and modify the security for the folder c:\tikiwiki_*\templates_c
    • Allow write access for the users whose names start with IUSR and IWAM
  • Versions 1.8 and later only Enter the following from the command line:
    • cd /d c:\tikiwiki_* (the actual directory depends on which version you have installed)
    • cd lib
    • mkdir \php4
    • xcopy /i /e pear \php4
  • Edit c:\tikiwiki_*\tiki-install.php (the actual directory depends on which version you have installed)
    • You will need to use a UNIX-linefeed-friendly editor. I use Crimson Editor
    • Change the line: $docroot = dirname($_SERVER['SCRIPT_FILENAME']);
    • To: $docroot = dirname('c:/tikiwiki_*'); // Specify the real directory based on the TikiWiki version
  • Edit c:\tikiwiki_*\tiki-setup.php (the actual directory depends on which version you have installed)
    • You will need to use a UNIX-linefeed-friendly editor. I use Crimson Editor
    • Change the line: $docroot = dirname($_SERVER['SCRIPT_FILENAME']);
    • To: $docroot = dirname('c:/tikiwiki_*'); // Specify the real directory based on the TikiWiki version
    • Change

// Fix IIS servers not setting what they should set (ay ay
IIS, ay ay)
if(!isset($_SERVER['QUERY_STRING']))
$_SERVER['QUERY_STRING']='';
if(!isset($_SERVER['REQUEST_URI'])||empty($_SERVER['REQUEST_URI']
))
{
  $_SERVER['REQUEST_URI'] = $_SERVER['PHP_SELF'] . '/' .
$_SERVER['QUERY_STRING'];
}

To:

// Fix IIS servers not setting what they should set (ay ay IIS, ay ay)
if (TikiSetup::os() == "windows")
{
	$uri = $_SERVER["REQUEST_URI"];
	$len = strlen($uri);
	if (substr($uri, $len -1) == "/")
	{
		$uri = substr($uri, 0, $len -1);
	}
	else
	{
		$uri = substr($uri, 0, $len - strlen($_SERVER["QUERY_STRING"]) -1);
		$uri = $uri . "?" . $_SERVER["QUERY_STRING"];
	}
	$_SERVER["REQUEST_URI"] = $uri;
}

Installing PHP 4.x


There are two ways to use PHP. CGI or ISAPI.

ISAPI


CGI

  • Download and run the setup program
  • Install PHP to c:\php
  • Ignore errors regarding "missing OCX"
  • Run Start/Program Files/Administrative Tools/Internet Services Manager
  • Navigate to your web site
  • Right-click on Default Web Site and select New/Virtual Directory
    • Directory name: tiki
    • Directory location: c:\tikiwiki_* (actual directory depends on which version you installed)
    • Check the "Execute" check box
  • Right-click on Default Web Site again
    • Go to the Home Directory Tab
    • Click the Configuration... button
    • Click Add
      • Executable: c:\php\php.exe
      • Extension: .php


Both

  • Modify c:\winnt\php.ini
  • Search for "SMTP" and enter your SMTP server and return email address

Testing PHP
  • This page contains a simple PHP script. Copy everything between < php and ? > (inclusive) to the file c:\tikiwiki_*\test.php (actual directory depends on which version you installed)
  • Fire up your browser and go to http://localhost/tiki/test.php
  • You should see a page that contains all the holidays in the current year — if not, review this documentation with the actual steps you performed

Configuring and Testing TikiWiki
  • Open a browser and go to http://localhost/tiki/tiki-install.php
    • The password for the admin account is 'admin'
  • Create a tiki database
  • Go to http://localhost/tiki/index.php
  • Log in as admin/admin and promptly change the password
  • It is recommended that you delete c:\tikiwiki_*\tiki-install.php or move it to a folder that isn't accessible via the web

Enjoy Using TikiWiki!


please also see:
IisTroubleshooting
IisWorkarounds

History

Advanced
Information Version
drsassafras Mass search and replace 27
View
mlpvolt 26
View
pj updated broken URL to PHP ISAPI installation 25
View
Globaltap 24
View
Damian Parker 23
View
François Bachmann 22
View
eilorux 21
View
eilorux 20
View
terris 19
View
terris 18
View
terris 17
View
terris 16
View
terris 15
View
terris 14
View
terris 13
View
terris 12
View
terris 11
View
terris 8
View