• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.
  • Chevereto Support CLST

    Support response

    Support checklist

[Guide] How to run Chevereto on Windows Server 2008 with IIS 7

mkerala

👽 Chevereto Freak
Today I took my chances and decided to move to Windows Server and IIS 7. I see that not much information on IIS is available, so decide to share my experience.

Why Windows Server and IIS?
Everyone would recommend linux + Apache or Nginx. I tried it for a while and was having very hard time with linux commands(I' m a windows guy). Besides I got 1TB onedrive which won't work on linux. On windows I could use it for backup.

Benchmark test shows IIS to be faster than Nginx or Apache. Also it is more stable and reliable.

What you need?
  • Windows Server 2008 or above
  • IIS 7 or later (install web server role)
  • PHP 5.4 or above for IIS
  • MySQL for IIS
  • SMTP server (optional)
I am skipping the how to setup a website in IIS part as it already available on other site. Just concentrating on changes required to make chevereto run.

Change to configurations need
  • web.config: This is the equivalent of .htaccess. The below config was working for me.
Code:
<configuration>
<system.webServer>
<rewrite>
    <rules>
        <rule name="Main Rule" stopProcessing="true">
            <match url=".*" />
            <conditions logicalGrouping="MatchAll">
                <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
            </conditions>
            <action type="Rewrite" url="index.php" />
        </rule>
    </rules>
</rewrite>
<security>
<requestFiltering>
  <requestLimits maxAllowedContentLength="200000000" />
</requestFiltering>
</security>
        <staticContent>
            <mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
        </staticContent>
</system.webServer>
</configuration>

The "requestLimits maxAllowedContentLength=" is specified to override the default upload file limit of 30MB.
  • PHP.ini : Not much change required. But may have to consider increasing the default uplad limit of 2MB
  • MIME type: You need to add .svg to MIME type in IIS else chevereto logo in .svg format won't show. Add .svg as image/svg+xml in MIME type.
  • SMTP server(optional): In order for phpmail function to work, you need to install SMTP server feature on your windows server and configure it to allow access to localhost. Also update php.ini to use localhost as SMTP with port 25. Note: It is recommended to use mail providers like Zoho Mail than setting up your own mail server.
I was able to upload multiple images with size 50-75MB without any issues. I am still testing the site and will update the article if I could find any more info.

Known Issues#
1. Image upload issue after upgrade to 3.6.2
 
Last edited:
Note that Nginx > Apache > IIS. Don't run it on IIS unless you can't use another server.
 
i have a same problem i think so i have a shared host from arvixe and befre this have not worked and now the script worked.

what not worked the template dont worked it.
the milion dolar question is what can i change for use this script ?

here a link for my script www.cifci.org



i have changed the web.config file to

<configuration>

<system.webServer>
<directoryBrowse enabled="false" />
<defaultDocument>
<files>
<clear />
<add value="index.php" />
</files>
</defaultDocument>

<rewrite>
<rules>
<rule name="Main Rule" stopProcessing="true">
<match url=".*" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Rewrite" url="index.php" />
</rule>
</rules>
</rewrite>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="200000000" />
</requestFiltering>
</security>
<staticContent>
<mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
</staticContent>
</system.webServer>
</configuration>
 
i have a same problem i think so i have a shared host from arvixe and befre this have not worked and now the script worked.

what not worked the template dont worked it.
the milion dolar question is what can i change for use this script ?

here a link for my script www.cifci.org



i have changed the web.config file to

Can you let me know the what issue you had faced?

Your website is redirecting to install page.
 
i have changed my host to linux 5.4...
and fixed all probems on install now have other basic problems thx for help ...
 
i have changed my host to linux 5.4...
and fixed all probems on install now have other basic problems thx for help ...
Sorry to hear that Windows Server did work for you.

linux apache 2.xx php 5.4xx and have no isntall problems
Linux + Apache/Nginx is the best combination for Chevereto.

PS: I have now manged to run Chevereto on Windows IIS for past 7 months. Now host over 75,000 images with total disk space 300GB used. IIS is strong and has reported zero issues even during peak times.
 
yes have lots off errors and have carry on a other linux host i think on windows must man lots of time working for experience.
we can try on another time work on this. i think is significant isure then like as and others.
How to run Chevereto on Windows Server 2008 with IIS 7
i think this must be fixed thank for you help more people's here for thx.
 
Back
Top