Skip to content

Commit b3e3247

Browse files
committed
[FrameworkBundle] better message for disabled sessions
1 parent b6e8b17 commit b3e3247

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ public function load(array $configs, ContainerBuilder $container)
234234

235235
if ($this->isConfigEnabled($container, $config['session'])) {
236236
if (!\extension_loaded('session')) {
237-
throw new \LogicException('PHP extension "session" is required.');
237+
throw new LogicException('Session support cannot be enabled as the session extension is not installed. See https://www.php.net/session.installation for instructions.');
238238
}
239239

240240
$this->sessionConfigEnabled = true;

0 commit comments

Comments
 (0)