Some problems might occur when using GitList. Refer to this page for more info.
Installation problems
If you're having problems during the installation of GitList, make sure your PHP is correctly configured. Certain PHP distributions can have very restrictive default PHAR settings. PHAR is used within GitList to load Silex, a microframework. Setting the following directives on your php.ini might solve your problem:
If you have the Suhosin patch (Ubuntu has it by default) you will also have to set this:
SELinux
On Fedora Core with SELinux enabled, you may find that you need to set some SELinux properties like so (replace "/data/www/html/gitlist" with the correct path to your GitList installation and "/home/git/repositories" with the correct path to your git repositories):
Error: Compilation failed: missing )
Make sure you are using the latest libpcre version. GitList requires at least 8.x.
Restrictive apache2 configuration (linux)
You can face some issues if AllowOverride is disabled and/or FollowSymLinks option is off in your main configuration.
To overcome this, create a file named gitlist.conf inside the /etc/apache2/conf.d/ folder with this content :
/srv/www/htdocs/ is the default htdocs path on some GNU/Linux setups, you must change it to the actual htdocs base path if it is different.
Note: With Apache 2.4, the default configuration folder has changed from /etc/apache2/conf.d to /etc/apache2/conf-available. So if you're using Apache 2.4, you need to put the aforementioned gitlist.conf into /etc/apache2/conf-available. Then you need to activate it (symlink it from 'conf-available' to 'conf-enabled') with
a2enconf gitlist
and restart Apache.
Note: The Apache rewrite module may have to enabled if it isnt already. Enable it with
a2enmod rewrite
and restart Apache.
lighttpd
lighttpd does not support .htaccess files, thus the url-rewrite will not work and result in a 404 when accessing a repository. To fix, add this to your lighttpd.conf:
Replace gitlist with your installation path.