The setup page tells me that mod_rewrite is not installed. Since mod_rewrite is optional, how do I configure this option?
Mod_rewrite is a module that is compiled with Apache. To enable it, you must have root access to the server. Unless you compiled Apache by yourself, most distributions will include mod_rewrite, but not necessarily enabled it. The most common way to do so is this:
LoadModule rewrite_module libexec/mod_rewrite.so AddModule mod_rewrite.c
For more information on mod_rewrite check out the Apache module mod_rewrite page.
Does Gallery work under Windows?
Many people have gotten Gallery to work under Windows using Apache. However, Gallery does not interact well with IIS, because PHP still has some issues with executing programs like NetPBM and ImageMagick.
How do I run PHP as a CGI?
Running PHP as a CGI is usually done when PHP is not available on your server (but you can execute cgi-bin scripts) or when the normal PHP installation is running in safe mode. Note that in order for this to work, your server must be configured to read .htaccess files, which your host can disable!
That should be it! Install Gallery in your php-cgi directory. It is extremely difficult to provide support for this, because there are many things that can go wrong and it's hard to diagnose the problem.
How do I force .php files to use PHP4?
In the rare case that your ISP has PHP3 and PHP4 installed on the same server, sometimes .php files will end up being parsed by the PHP3 parser, which Gallery can't run under. To force .php files to use the PHP4 parser, add these to your .htaccess file.
<Files *.php> ForceType application/x-httpd-php </Files>
Where can I find the unzip and zipinfo binaries?
You can download the latest unzip binary from the Info-Zip website .
The recent releases of unzip no longer come with a zipinfo binary. That's ok, though because it's really just the same binary as unzip with a different name. Just make a copy of unzip and call it zipinfo and then tell Gallery about that on page 2 of the config wizard and you'll be all set.