I am trying to install Symfony 4.0 (specifically 4.0.99) to prepare for Symfony SF4 certification but each time composer installs 4.4.11 instead.
I tried:
composer create-project symfony/website-skeleton="4.0.99" skeleton
composer create-project symfony/website-skeleton="4.0.*" skeleton
composer create-project symfony/website-skeleton="~4.0.99" skeleton
composer create-project symfony/website-skeleton skeleton "4.0.99"
Even if all packages in vendor folder are listed with 4.0.9 versions, the main page of the application fails to open because of different errors:
In ArrayNode.php line 327:
Unrecognized option "cookie_samesite" under "framework.session". Available
options are "cookie_domain", "cookie_httponly", "cookie_lifetime",
"cookie_path", "cookie_secure", "enabled", "gc_divisor", "gc_maxlifetime",
"gc_probability", "handler_id", "metadata_update_threshold", "name",
"save_path", "storage_id", "use_cookies".
I tried using raw composer.json for 4.0 branch and then stricly modified each dependency to "4.0.9".
I tried using PHP 7.0 instead of PHP 7.1 and use --ignore-platform-reqs
Is something wrong with my OS? Can you get fresh working installation of Symfony 4.0?