ELGG.ERROR: Elgg\Cache\CompositeCache::buildFileSystemDriver Failed to create cache path

I installed Elgg 3.3.16 via composer on CentOS 8. I made sure that permission for /path/to/data directory is set to 750 and owned by Apache. I have been set up Elgg for several versions but have not encountered this error Elgg\Cache\CompositeCache::buildFileSystemDriver before. I even set the /path/to/data permission to 777 (very insecure), the mentioned error still exists.

I saw a lot of discussions regarding permission issues with data directory but not specifically for buildFileSystemDriver case.

Has anyone faced similar issue when configuring/installing Elgg 3.3.16?

Thanks!

Beginning Developers

Beginning Developers

This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking