# ‘session.name’ is not a valid sessions-related ini setting

**URL:** <https://discourse.laminas.dev/t/session-name-is-not-a-valid-sessions-related-ini-setting/3030>\
**Category:** 3rd-Party Tools & Libraries\
**Tags:** laminas-session, omeka-s\
**Created:** [August 31, 2022, 9:33am UTC](https://discourse.laminas.dev/t/session-name-is-not-a-valid-sessions-related-ini-setting/3030 "2022-08-31T09:33:12Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![cabalpaul90](https://avatars.discourse-cdn.com/v4/letter/c/41988e/32.png) [@cabalpaul90](https://discourse.laminas.dev/u/cabalpaul90)\
**Post date:** [August 31, 2022, 9:33am UTC](https://discourse.laminas.dev/t/session-name-is-not-a-valid-sessions-related-ini-setting/3030/1 "2022-08-31T09:33:12Z")

</div>

Hello, since the update to PHP 8 I get this error message from my Omeka S. I have just updated the Omeka to the latest version. That didn’t fix the error either. I renamed all module folders on the server once, and named them correctly again. This did not help either. Does anyone know what the error is here? I found similar errors in the forum here, but unfortunately none of them were the same as mine.

Here what the Omeka S gives as error message:

> **Deprecated** : Return type of Doctrine\DBAL\Statement::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in **/srv/www/htdocs/coronarchiv/projector/vendor/doctrine/dbal/lib/Doctrine/DBAL/Statement.php** on line **322**
> 
> **Deprecated** : Return type of Doctrine\DBAL\Driver\PDOConnection::exec($sql) should either be compatible with PDO::exec(string $statement): int|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in **/srv/www/htdocs/coronarchiv/projector/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php** on line **50**
> 
> **Deprecated** : Return type of Doctrine\DBAL\Driver\PDOConnection::lastInsertId($name = null) should either be compatible with PDO::lastInsertId(?string $name = null): string|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in **/srv/www/htdocs/coronarchiv/projector/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php** on line **99**
> 
> **Deprecated** : Return type of Doctrine\DBAL\Driver\PDOConnection::prepare($sql, $driverOptions = ) should either be compatible with PDO::prepare(string $query, array $options = ): PDOStatement|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in **/srv/www/htdocs/coronarchiv/projector/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php** on line **76**
> 
> **Deprecated** : Return type of Doctrine\DBAL\Driver\PDOConnection::quote($value, $type = Doctrine\DBAL\ParameterType::STRING) should either be compatible with PDO::quote(string $string, int $type = PDO::PARAM\_STR): string|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in **/srv/www/htdocs/coronarchiv/projector/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php** on line **91**
> 
> **Deprecated** : Return type of Doctrine\DBAL\Driver\PDOQueryImplementation::query(?string $query = null, ?int $fetchMode = null, mixed …$fetchModeArgs) should either be compatible with PDO::query(string $query, ?int $fetchMode = null, mixed …$fetchModeArgs): PDOStatement|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in **/srv/www/htdocs/coronarchiv/projector/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOQueryImplementation.php** on line **20**
> 
> **Deprecated** : Return type of Doctrine\DBAL\Driver\PDOStatement::bindParam($param, &$variable, $type = Doctrine\DBAL\ParameterType::STRING, $length = null, $driverOptions = null) should either be compatible with PDOStatement::bindParam(string|int $param, mixed &$var, int $type = PDO::PARAM\_STR, int $maxLength = 0, mixed $driverOptions = null): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in **/srv/www/htdocs/coronarchiv/projector/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php** on line **79**
> 
> **Deprecated** : Return type of Doctrine\DBAL\Driver\PDOStatement::bindValue($param, $value, $type = Doctrine\DBAL\ParameterType::STRING) should either be compatible with PDOStatement::bindValue(string|int $param, mixed $value, int $type = PDO::PARAM\_STR): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in **/srv/www/htdocs/coronarchiv/projector/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php** on line **59**
> 
> **Deprecated** : Return type of Doctrine\DBAL\Driver\PDOStatement::closeCursor() should either be compatible with PDOStatement::closeCursor(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in **/srv/www/htdocs/coronarchiv/projector/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php** on line **95**
> 
> **Deprecated** : Return type of Doctrine\DBAL\Driver\PDOStatement::execute($params = null) should either be compatible with PDOStatement::execute(?array $params = null): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in **/srv/www/htdocs/coronarchiv/projector/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php** on line **109**
> 
> **Deprecated** : Return type of Doctrine\DBAL\Driver\PDOStatement::fetch($fetchMode = null, $cursorOrientation = PDO::FETCH\_ORI\_NEXT, $cursorOffset = 0) should either be compatible with PDOStatement::fetch(int $mode = PDO::FETCH\_DEFAULT, int $cursorOrientation = PDO::FETCH\_ORI\_NEXT, int $cursorOffset = 0): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in **/srv/www/htdocs/coronarchiv/projector/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php** on line **123**
> 
> **Deprecated** : Return type of Doctrine\DBAL\Driver\PDOStatement::fetchColumn($columnIndex = 0) should either be compatible with PDOStatement::fetchColumn(int $column = 0): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in **/srv/www/htdocs/coronarchiv/projector/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php** on line **143**
> 
> **Deprecated** : Return type of Doctrine\DBAL\Driver\PDOStatementImplementations::fetchAll($mode = null, …$args) should either be compatible with PDOStatement::fetchAll(int $mode = PDO::FETCH\_DEFAULT, mixed …$args): array, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in **/srv/www/htdocs/coronarchiv/projector/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatementImplementations.php** on line **36**
> 
> **Deprecated** : Return type of Laminas\Stdlib\Parameters::offsetGet($name) should either be compatible with ArrayObject::offsetGet(mixed $key): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in **/srv/www/htdocs/coronarchiv/projector/vendor/laminas/laminas-stdlib/src/Parameters.php** on line **83**
> 
> **Deprecated** : Return type of Laminas\Stdlib\Parameters::offsetGet($name) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in **/srv/www/htdocs/coronarchiv/projector/vendor/laminas/laminas-stdlib/src/Parameters.php** on line **83**
> 
> **Deprecated** : Return type of Laminas\Stdlib\ArrayObject::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in **/srv/www/htdocs/coronarchiv/projector/vendor/laminas/laminas-stdlib/src/ArrayObject.php** on line **227**
> 
> **Deprecated** : Return type of Laminas\Stdlib\ArrayObject::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in **/srv/www/htdocs/coronarchiv/projector/vendor/laminas/laminas-stdlib/src/ArrayObject.php** on line **280**
> 
> **Deprecated** : Return type of & Laminas\Stdlib\ArrayObject::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in **/srv/www/htdocs/coronarchiv/projector/vendor/laminas/laminas-stdlib/src/ArrayObject.php** on line **291**
> 
> **Deprecated** : Return type of Laminas\Stdlib\ArrayObject::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in **/srv/www/htdocs/coronarchiv/projector/vendor/laminas/laminas-stdlib/src/ArrayObject.php** on line **309**
> 
> **Deprecated** : Return type of Laminas\Stdlib\ArrayObject::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in **/srv/www/htdocs/coronarchiv/projector/vendor/laminas/laminas-stdlib/src/ArrayObject.php** on line **320**
> 
> **Deprecated** : Laminas\Stdlib\ArrayObject implements the Serializable interface, which is deprecated. Implement \_\_serialize() and \_\_unserialize() instead (or in addition, if support for old PHP versions is necessary) in **/srv/www/htdocs/coronarchiv/projector/vendor/laminas/laminas-stdlib/src/ArrayObject.php** on line **21**
> 
> **Deprecated** : Return type of Laminas\Stdlib\ArrayObject::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in **/srv/www/htdocs/coronarchiv/projector/vendor/laminas/laminas-stdlib/src/ArrayObject.php** on line **169**
> 
> **Deprecated** : Return type of Laminas\Http\Headers::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in **/srv/www/htdocs/coronarchiv/projector/vendor/laminas/laminas-http/src/Headers.php** on line **385**
> 
> **Deprecated** : Return type of Laminas\Http\Headers::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in **/srv/www/htdocs/coronarchiv/projector/vendor/laminas/laminas-http/src/Headers.php** on line **370**
> 
> **Deprecated** : Return type of Laminas\Http\Headers::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in **/srv/www/htdocs/coronarchiv/projector/vendor/laminas/laminas-http/src/Headers.php** on line **330**
> 
> **Deprecated** : Return type of Laminas\Http\Headers::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in **/srv/www/htdocs/coronarchiv/projector/vendor/laminas/laminas-http/src/Headers.php** on line **340**
> 
> **Deprecated** : Return type of Laminas\Http\Headers::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in **/srv/www/htdocs/coronarchiv/projector/vendor/laminas/laminas-http/src/Headers.php** on line **350**
> 
> **Deprecated** : Return type of Laminas\Http\Headers::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in **/srv/www/htdocs/coronarchiv/projector/vendor/laminas/laminas-http/src/Headers.php** on line **360**
> 
> **Deprecated** : Return type of Laminas\Loader\PluginClassLoader::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in **/srv/www/htdocs/coronarchiv/projector/vendor/laminas/laminas-loader/src/PluginClassLoader.php** on line **212**
> 
> **Deprecated** : Return type of Laminas\Stdlib\PriorityList::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in **/srv/www/htdocs/coronarchiv/projector/vendor/laminas/laminas-stdlib/src/PriorityList.php** on line **200**
> 
> **Deprecated** : Return type of Laminas\Stdlib\PriorityList::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in **/srv/www/htdocs/coronarchiv/projector/vendor/laminas/laminas-stdlib/src/PriorityList.php** on line **220**
> 
> **Deprecated** : Return type of Laminas\Stdlib\PriorityList::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in **/srv/www/htdocs/coronarchiv/projector/vendor/laminas/laminas-stdlib/src/PriorityList.php** on line **211**
> 
> **Deprecated** : Return type of Laminas\Stdlib\PriorityList::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in **/srv/www/htdocs/coronarchiv/projector/vendor/laminas/laminas-stdlib/src/PriorityList.php** on line **230**
> 
> **Deprecated** : Return type of Laminas\Stdlib\PriorityList::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in **/srv/www/htdocs/coronarchiv/projector/vendor/laminas/laminas-stdlib/src/PriorityList.php** on line **191**
> 
> **Deprecated** : Return type of Laminas\Stdlib\PriorityList::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in **/srv/www/htdocs/coronarchiv/projector/vendor/laminas/laminas-stdlib/src/PriorityList.php** on line **246**
> 
> **Deprecated** : Return type of Laminas\View\Resolver\AggregateResolver::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in **/srv/www/htdocs/coronarchiv/projector/vendor/laminas/laminas-view/src/Resolver/AggregateResolver.php** on line **54**
> 
> **Deprecated** : Return type of Laminas\View\Resolver\AggregateResolver::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in **/srv/www/htdocs/coronarchiv/projector/vendor/laminas/laminas-view/src/Resolver/AggregateResolver.php** on line **64**
> 
> **Deprecated** : Return type of Laminas\Stdlib\PriorityQueue::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in **/srv/www/htdocs/coronarchiv/projector/vendor/laminas/laminas-stdlib/src/PriorityQueue.php** on line **127**
> 
> **Deprecated** : Return type of Laminas\Stdlib\PriorityQueue::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in **/srv/www/htdocs/coronarchiv/projector/vendor/laminas/laminas-stdlib/src/PriorityQueue.php** on line **164**
> 
> **Deprecated** : Laminas\Stdlib\PriorityQueue implements the Serializable interface, which is deprecated. Implement \_\_serialize() and \_\_unserialize() instead (or in addition, if support for old PHP versions is necessary) in **/srv/www/htdocs/coronarchiv/projector/vendor/laminas/laminas-stdlib/src/PriorityQueue.php** on line **27**
> 
> **Deprecated** : Return type of Laminas\View\Resolver\TemplateMapResolver::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in **/srv/www/htdocs/coronarchiv/projector/vendor/laminas/laminas-view/src/Resolver/TemplateMapResolver.php** on line **42**
> 
> **Deprecated** : Return type of Laminas\Stdlib\SplStack::unserialize($data) should either be compatible with SplDoublyLinkedList::unserialize(string $data): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in **/srv/www/htdocs/coronarchiv/projector/vendor/laminas/laminas-stdlib/src/SplStack.php** on line **48**
> 
> **Deprecated** : Return type of Laminas\Stdlib\SplStack::serialize() should either be compatible with SplDoublyLinkedList::serialize(): string, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in **/srv/www/htdocs/coronarchiv/projector/vendor/laminas/laminas-stdlib/src/SplStack.php** on line **37**
> 
> **Deprecated** : Laminas\Stdlib\SplPriorityQueue implements the Serializable interface, which is deprecated. Implement \_\_serialize() and \_\_unserialize() instead (or in addition, if support for old PHP versions is necessary) in **/srv/www/htdocs/coronarchiv/projector/vendor/laminas/laminas-stdlib/src/SplPriorityQueue.php** on line **19**
> 
> **Deprecated** : Return type of Laminas\View\Model\ViewModel::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in **/srv/www/htdocs/coronarchiv/projector/vendor/laminas/laminas-view/src/Model/ViewModel.php** on line **496**
> 
> **Deprecated** : Return type of Laminas\View\Model\ViewModel::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in **/srv/www/htdocs/coronarchiv/projector/vendor/laminas/laminas-view/src/Model/ViewModel.php** on line **506**
> 
> **Deprecated** : Return type of Laminas\View\Variables::offsetGet($key) should either be compatible with ArrayObject::offsetGet(mixed $key): mixed, or the #  
> Basically I want to create an app for the [mobile app development company](https://enterprise.affle.com/mobile-app-development).[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in **/srv/www/htdocs/coronarchiv/projector/vendor/laminas/laminas-view/src/Variables.php** on line **131**
> 
> **Warning** : ini\_set(): Session ini settings cannot be changed after headers have already been sent in **/srv/www/htdocs/coronarchiv/projector/vendor/laminas/laminas-session/src/Config/SessionConfig.php** on line **147**
> 
> # Omeka S encountered an error
> 
> **Laminas\Session\Exception\InvalidArgumentException**  
> ‘session.name’ is not a valid sessions-related ini setting.
> 
> Details:
> 
> Laminas\Session\Exception\InvalidArgumentException: ‘session.name’ is not a valid sessions-related ini setting. in /srv/www/htdocs/coronarchiv/projector/vendor/laminas/laminas-session/src/Config/SessionConfig.php:154 Stack trace: #0 /srv/www/htdocs/coronarchiv/projector/vendor/laminas/laminas-session/src/Config/StandardConfig.php(265): Laminas\Session\Config\SessionConfig-\>setStorageOption() #1 /srv/www/htdocs/coronarchiv/projector/vendor/laminas/laminas-session/src/Config/StandardConfig.php(113): Laminas\Session\Config\StandardConfig-\>setName() #2 /srv/www/htdocs/coronarchiv/projector/application/src/Mvc/MvcListeners.php(90): Laminas\Session\Config\StandardConfig-\>setOptions() #3 /srv/www/htdocs/coronarchiv/projector/vendor/laminas/laminas-eventmanager/src/EventManager.php(321): Omeka\Mvc\MvcListeners-\>bootstrapSession() #4 /srv/www/htdocs/coronarchiv/projector/vendor/laminas/laminas-eventmanager/src/EventManager.php(170): Laminas\EventManager\EventManager-\>triggerListeners() #5 /srv/www/htdocs/coronarchiv/projector/vendor/laminas/laminas-mvc/src/Application.php(160): Laminas\EventManager\EventManager-\>triggerEvent() #6 /srv/www/htdocs/coronarchiv/projector/application/src/Mvc/Application.php(40): Laminas\Mvc\Application-\>bootstrap() #7 /srv/www/htdocs/coronarchiv/projector/index.php(19): Omeka\Mvc\Application::init() #8 {main}

Hope anyone will resolve this.

---

<div class="post-metadata">

**Author:** ![ocramius](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.laminas.dev/ocramius/32/23_2.png) [@ocramius](https://discourse.laminas.dev/u/ocramius)\
**Post date:** [August 31, 2022, 10:05am UTC](https://discourse.laminas.dev/t/session-name-is-not-a-valid-sessions-related-ini-setting/3030/2 "2022-08-31T10:05:30Z")

</div>

Most of the errors you reported come from deprecations that were already fixed in upstream.

You probably need to do some library upgrades 🙂

---

<div class="post-metadata">

**Author:** ![cabalpaul90](https://avatars.discourse-cdn.com/v4/letter/c/41988e/32.png) [@cabalpaul90](https://discourse.laminas.dev/u/cabalpaul90)\
**Post date:** [August 31, 2022, 10:18am UTC](https://discourse.laminas.dev/t/session-name-is-not-a-valid-sessions-related-ini-setting/3030/3 "2022-08-31T10:18:22Z")

</div>

Thanks a lot, will do and let you know.

---

<div class="post-metadata">

**Author:** ![Chithra\_C.T](https://avatars.discourse-cdn.com/v4/letter/c/858c86/32.png) [@Chithra\_C.T](https://discourse.laminas.dev/u/Chithra_C.T)\
**Post date:** [February 9, 2023, 2:06pm UTC](https://discourse.laminas.dev/t/session-name-is-not-a-valid-sessions-related-ini-setting/3030/4 "2023-02-09T14:06:41Z")

</div>

Is this issue fixed? I am facing the same issue with laminas session and PHP8.

---

<div class="post-metadata">

**Author:** ![froschdesign](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.laminas.dev/froschdesign/32/38_2.png) [@froschdesign](https://discourse.laminas.dev/u/froschdesign)\
**Post date:** [February 9, 2023, 2:44pm UTC](https://discourse.laminas.dev/t/session-name-is-not-a-valid-sessions-related-ini-setting/3030/5 "2023-02-09T14:44:42Z")

</div>

Hello and welcome to our forums! 😃

> [@Chithra\_C.T](#):
>
> I am facing the same issue with laminas session and PHP8.

laminas-session works with version 8.0, 8.1 and 8.2. And if you use “Omeka S” then check version 4.0.0:

> **[Release v4.0.0 · omeka/omeka-s](https://github.com/omeka/omeka-s/releases/tag/v4.0.0)**
>
> Omeka S 4.0.0 is the next major release of Omeka S, including many features and bug fixes.
> This version adds support for PHP 8.1 and 8.2; the minimum supported version of PHP is now 7.4.
> Features
> K...

---

<div class="post-metadata">

**Author:** ![Chithra\_C.T](https://avatars.discourse-cdn.com/v4/letter/c/858c86/32.png) [@Chithra\_C.T](https://discourse.laminas.dev/u/Chithra_C.T)\
**Post date:** [February 9, 2023, 4:16pm UTC](https://discourse.laminas.dev/t/session-name-is-not-a-valid-sessions-related-ini-setting/3030/6 "2023-02-09T16:16:01Z")

</div>

Sorry, I am not using Omeka. But I face the same session issue with a PHP project. Could you please give a hint on solving “session.name’ is not a valid sessions-related ini setting”?

---

<div class="post-metadata">

**Author:** ![froschdesign](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.laminas.dev/froschdesign/32/38_2.png) [@froschdesign](https://discourse.laminas.dev/u/froschdesign)\
**Post date:** [February 9, 2023, 6:40pm UTC](https://discourse.laminas.dev/t/session-name-is-not-a-valid-sessions-related-ini-setting/3030/7 "2023-02-09T18:40:05Z")

</div>

Please create a new thread and describe your problem. Also add the content of your `composer.json`, this allows us to reproduce your problem.

Thanks in advance! 👍🏻
