Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Clone this wiki locally
Since Gustav relies, among other, on OOP 5, namespaces and anonymous functions, Gustav requires PHP 5.3+.
Moreover, you should make sure that PHP's
open_basedir configuration option doesn't exclude important directories like the templates directory, the source directory or the GvDir. Also the
allow_url_fopen PHP configuration option should be enabled.
Gustav uses the
DirectorySlash directive which is available as of Apache 2.0.51.
If you remove that directive from the
.htaccess file, Gustav may also work fine on Apache versions below 2.0.51.
Other directives used by Gustav are
and, if the
use_fallback_resource configuration option is set to
FallbackResource is available as of Apache 2.2.16.
If not setting
true, Apache should be compiled with
mod_rewrite (Extension, by default not included) or that module should be loaded dynamically using
LoadModule. If it's not, no errors or something similar will occur, but auto-generating a non-existing destination file for a requested URL similar to
http://example.com/blog/category/article-1/ won't work if that directory already exists since, instead of a
404 Not Found status, a
403 Forbidden status is returned (if no directory index is generated) which doesn't trigger
mod_rewrite is available, setting the
FollowSymLinks option in a
.htaccess file must be enabled using
AllowOverride Options=FollowSymLinks for example.
FileInfo permissons in
.htaccess files, while
DirectorySlash, as well as
Indexes permissons set, for example, using
AllowOverride FileInfo Indexes.
mod_dir must be compiled into Apache (Base, by default included) or must be loaded dynamically using
LoadModule to provide support for