Support » Fixing WordPress » IIS and PHP.ini trick disables Thumbnails

  • I got permalinks working in IIS 5 by putting a PHP.ini file in my root directory, with the following in it:

    cgi.fix_pathinfo = 1
    cgi.force_redirect = 0

    That’s working great for permalinks, BUT it disables my ability to create thumbnails. If php.ini is in my root, I can’t create thumbnails in WordPress RTF and if I use iimage browser, it says “Filetype not supported. Thumbnail not created.” However, I can create thumbnails if I delete the php.ini file.

    Any ideas on how I can fix this (besides getting a new host)?

Viewing 1 replies (of 1 total)
  • After hours of playing with this I figured out the solution, I’m using this in my PHP.INI file:

    cgi.fix_pathinfo = 1
    cgi.force_redirect = 0
    register_globals = On
    extension_dir = “./”
    extension=php_gd2.dll

    This not only fixes permalinks, but fixed my thumbnail creation AND my ability to run other PHP scripts.

Viewing 1 replies (of 1 total)
  • The topic ‘IIS and PHP.ini trick disables Thumbnails’ is closed to new replies.