My new installation of WordPress in Windows Server 2008 seems mostly working just fine. The most irritating remaining problem is the media/image upload part where image resizing is not working: you only get the option of full size images, and e.g. thumbnails are just greyed out. The folder read/write properties seem ok, and GD extension in PHP is installed; my info.php says:
GD Support | enabled |
GD Version | bundled (2.0.34 compatible) |
FreeType Support | enabled |
FreeType Linkage | with freetype |
FreeType Version | 2.3.9 |
GIF Read Support | enabled |
GIF Create Support | enabled |
JPEG Support | enabled |
libJPEG Version | 6b |
PNG Support | enabled |
libPNG Version | 1.2.37 |
WBMP Support | enabled |
XBM Support | enabled |
Directive | Local Value | Master Value |
---|---|---|
gd.jpeg_ignore_warning | 0 | 0 |
I do not know what is wrong, really. Maybe PHP code in WordPress 2.8 makes reference to gd.dll (I have gd2.dll) — need to check this…
Ok, solved. The issue was not really about GD.dll, nor about some rewrite rule issue that I also suspected. It simply appears that when you download something with PHP, it temporarily saves the file into a temp folder, and then moves the file to the final destination (under /wp-content in WordPress). In this case, my default C:/Windows/Temp folder did not allow write/modify rights to a User account (which WordPress here imitates). When the file was transfered to the Wp-uploads, it inherited the write/modify restrictions, too. You either need to enable write rights to the system Temp folder, or (better), set C:\inetpub\temp in PHP.INI as the temp folder for PHP, and then give the write/modify rights for user account to that folder. This solution was found from here: https://forums.iis.net/p/1159252/1910336.aspx
Another essential tip for Windows Server WordPress users: if you use WP-DBManager plugin to handle the database backups automatically (very wise!), you better take a look at this fix, it saved my day:
http://forums.lesterchan.net/index.php?topic=4364.0
Hi Frans
How did you cope with the url rewriting and get search friendly urls working on the windows server?
thanks
Dan
Hi Dan,
I am not 100% sure any more, but I think I followed this kind of instructions for IIS:
http://learn.iis.net/page.aspx/466/enabling-pretty-permalinks-in-wordpress/
WordPress in IIS/WinServer installation instructions can be found e.g. in here:
http://learn.iis.net/page.aspx/280/install-wordpress-on-iis/
Please also note my earlier post which documents the resources I used here:
http://www.unet.fi/fransblog/2009/03/21/installing-wordpress-on-windows-2008-server/
Many thnaks Frans!
I will read through that and give it a whirl!!
All the best!
Dan