This documentation provides detailed notes on a successful new installation of Tiki4.0 on a Windows 2008R2 Server.
Hopefully this will allow more TikiWiki users to take advantage of a Windows/IIS environment without the need of a WAMP install.
Special setup to show uploaded images from tracker field img is needed. please see here: Image Tracker Field
- Windows2008R2 Server Standard Edition (x64) - IIS 7
- MySQL 5.1.41 (x64) Community Edition
- MySQL GUI tools 5.0-r17-win32 (optional, but much easier)
- PhP 5.3.1 nts-Win32-VC9 (x86)
- Joined Domain, set static IP. (Running as Administrator)
- Added IIS Role
- Features for IIS:
Common HTTP Features
- Static Content
- Default Document
- Directory Browsing
- HTTP Errors
- HTTP Redirection
- .Net Extensibility
- ISAPI Extensions
- ISAPI Filters
Health and Diagnostics
- HTTP Logging
- Request Monitor
- Request Filtering
- Static Content Compression
- IIS Management Console
Windows: Turned off IE Enhanced Security
Windows: Ran MS Update installed all important and all optional updates.
Windows: Reboot server
Installed MySQL (x64) all defaults.
Installed MySQL GUI Tools.
Installed PHP 5.3.1 (x86) default settings installed to C:\PHP
Windows: Created C:\Temp directory
Windows: Under Security Settings, added everyone with full permissions to the following direc__tories:
- C:\Program files\MySQL
- include_path = ".;c:\php\includes" - uncommented (line 787)
- cgi.force_redirect = 1 - uncommented (line 822)
- fastcgi.impersonate = 1; - uncommented (line 850)
- upload_tmp_dir="C:\temp" - changed from c:\windows\temp (line 908)
- session.save_path="C:\temp" changed from c:\windows\temp (line 909)
- error_log="C:\temp\php-errors.log" changed from c:\windows\temp (line 910)
- date.timezone = America/New_York changed from blank (line 962)
- sendmail_from = my email address changed from blank (line 1056)
Windows: Opened port 3306 in windows firewall for remote MySQL client tools access.
Windows: Unzipped TikiWiki 4.0 to c:\inetpub\wwwroot\tw4
Windows: Created a phpinfo.php file in c:\inetpub\wwwroot to validate the php install.
From LAN workstation:
Verified MySQL remote connectivity and using MySQL Query Browser, created a new schema (database) named Tiki4.
Opened IE8 and connected to the phpinfo.php page to verify PHP install and settings.
Take dog for walk and hoping for success!
From LAN workstation, opened FireFox Browser and pointed to the tw4 path, and got the tiki-install.php page.
(Spring 2010 notes by jonnyb)
- Writable dirs not detected (by installer or tiki main)
- Caused major issues, but only had to set /temp, /templates_c and db/local.php to run
- Mail - errors from zend on smtp (default installation)
- SMTP probably not running on server
- Then needs tying into PHP?
- Tiki SMTP is broken (fails with a timeout, on Windows as well as Unix). Chealer9 20100709
- file write error on new tpls
- PHP (5.2.12) ERROR (E_WARNING): File: C:\inetpub\wwwroot\tiki\lib\smarty\libs\internals\core.write_file.php Line: 44 Type: unlink(C:\inetpub\wwwroot\tiki\templates_c\ en^%%23^230^230491F8%%tiki-list_blogs.tpl.php) [function.unlink]: No such file or directory
- That function blindly asks to delete a file without knowing whether it exists. This should be fine and most performant (since it saves a filesystem operation) using the PHP @ error-quieting operator, but that operator has no effect on Tiki since it uses custom error handling. This could be considered a PHP/Smarty bug highlighted by Tiki. We have a similar problem with php-openid. Chealer9 20100709
I created a new Windows 2008R2 virtual server and using the basics listed above, installed 5.0 Beta 1 successfully.
I decided to use the latest software available, and ran into database errors during the Tiki installation with PHP 5.3.2 nts-Win32-VC9 (x386). This could have resulted in missing a line in the php.ini file, but I am pretty certain everything was in order. After starting over, I went back to 5.3.1 and had no issues.
I also used the latest version of MySQL (5.1.45 x64) with no problems.
Everything else was standard as per above.
Once I had a successful database creation, the page that came up looked like plain html. No formatting at all. However, I was able to change admin password and get into the site. After checking on #tikiwiki, Caarrie pointed me to Admin/Performance. There I unchecked the â€œMinify CSSâ€ and all of the formatting was perfect! (Thanks again Caarrie). I am not sure if this is a default setting on installation, but if you run into this problem, it is a simple fix.