Nette Framework Requirements

You will need PHP version 5.6.0 or higher to run Nette Framework 2.4. Also, your server will have to comply with required configuration of PHP.

Requirements Checker

Requirements Checker is tool bundled with application skeleton known as Sandbox, which checks server configuration and tells you, whether you can use this framework or not.

You can download Nette Framework manually (package contains Sandbox), but the recommended way is to use Composer:

composer create-project nette/sandbox

Requirements Checker is located in folder /checker of Sandbox, so type URL to web browser i.e. http://localhost/sandbox/www/checker. Now you will find if your server meets minimal requirements.

Green message with “Congratulations!” is self explaining tells if you can use Nette right away!

Requirements Checker's final verdict

Requirement Description
PHP version PHP 5.6.0 or higher
.htaccess file protection Checks if you can disable access to protected folders
.htaccess mod_rewrite Checks if you can use mod_rewrite for routing
Function ini_set() This function is required for security purposes
Function error_reporting() This function is required for security purposes
Function flock() Needed by cache
Register_globals Dangerous configuration directive which needs to be turned off
Zend.ze1_compatibility_mode PHP 4 compability, must be turned off
Session auto-start Has to be turned off for security reasons
Reflection extension PHP extension required by framework
SPL extension PHP extension required by framework
PCRE extension PHP extension required by framework
ICONV extension PHP extension required by framework
PHP tokenizer PHP extension required by framework
PDO extension PHP extension required by Nette\Database
Multibyte String extension PHP extension required by functions Strings::lower()upper()
Multibyte String function overloading Dangerous PHP configuration directive, has to be turned off
Memcache extension PHP extension for caching
GD extension PHP extension required by Nette\Utils\Image
Bundled GD extension PHP extension required by methods Nette\Utils\Image::filter() & rotate()
Fileinfo extension or mime_content_type() Functions used for MIME-type detection of uploaded files

You should delete Requirements Checker after using it, because it prints information about PHP configuration.