Yii2 – session_start(): Cannot find save handler ‘memcached’ – session startup failed

I am getting this error: session_start(): Cannot find save handler ‘memcached’ – session startup failed in config/web.php my settings are like this: under components ‘cache’ => [ // ‘class’ => ‘yii\caching\FileCache’, ‘class’ => ‘yii\caching\MemCache’, ‘useMemcached’ => true, ‘servers’ => [ [ ‘host’ => ‘127.0.0.1’, ‘port’ => 11211 ], ], The phpinfo shows memcache is installed…

Details

Looking way to make generic out of this code

I have code where i am passing bunch of inputs to the method and adding to the database with entities inside that method like the below public class SpaceTypeServices { public Guid CreateRequest( SpaceTypeInput spaceTypeInput, MasterSection masterSection, RequestInput requestInputs, APIDbContext dbContext) { var id = Guid.NewGuid(); var mechanicalData = new MechanicalData(); var mechanicalTypeData = new…

Details