Windows IIS Install | |
Tikiwiki 19 on IIS I am developing a complete set of instructions for Tiki 1.9 that will be available when 1.9 comes out. These are the steps I used when I installed a fresh copy of Tiki19 on IIS 5 and IIS 6. I followed the instructions on the IISInstall page when I first started using Tiki back at version 1.6, so be sure that you follow them if this is your first time setting up Tiki on your system. I've included a portion of the code samples from the IISInstall page below. STEP 1
Download and unpack the contents of the 19 distribution into a folder. STEP 2
Create the IIS virtual directory for the IIS server, pointing to the directory where Tiki19 was placed. STEP 3
Edit the tiki-install.php and tiki-setup.php files accordingly:
// Fix IIS servers not setting what they should set 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: 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; }
STEP 4
Search the tiki-setup.php file for the following line: Copy to clipboard
Copy to clipboard
STEP 5
Search the tiki-setup.php file for the following: $docroot/$dir/$tikidomain
// foreach ($dirs as $dir) { // if (!is_dir("$docroot/$dir/$tikidomain")) { // $errors .= "The directory '$docroot/$dir/$tikidomain' does not exist.\n"; // } else if (!is_writeable("$docroot/$dir/$tikidomain")) { // $errors .= "The directory '$docroot/$dir/$tikidomain' is not writeable by $wwwuser.\n"; // } // } STEP 6
Open up the Tiki web site from a browser to begin the setup process.
|
older version (circa 1.7) | |
-
Issues
Installing IIS
Installing MySQL
Installing TikiWiki
If you are installing Tiki 1.8 or later, don't follow these instuctions and move to the next section
// 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
ISAPI
Testing PHP
Configuring and Testing TikiWiki
Enjoy Using TikiWiki!
|