Get support for dragoonis/psr-simplecache

If you're new to LTH, please see our FAQ for more information on what it is we do.

Support Options

Unfortunately, there are currently no active helpers for this repository on the platform. Until they become available, we reccomend the following actions:

View Open Issues

Take a look to see if anyone else has experienced the same issue as you and if they managed to solve it.

Open an Issue

Make sure to read any relevant guidelines for opening issues on this repo before posting a new issue.

Sponsor directly

Check out the page and see if there are any options to sponsor this project or it's developers directly.

dragoonis/psr-simplecache

The docker environment and source files exist here: https://github.com/dragoonis/psr-simplecache

Spinning up the containers

docker-compose up

Open a new tab. Find the application container name

$ docker-compose ps
            Name                          Command               State              Ports
---------------------------------------------------------------------------------------------------
psrsimplecache_application_1   php-fpm                          Up      9000/tcp
psrsimplecache_nginx_1         nginx -g daemon off;             Up      443/tcp, 0.0.0.0:80->80/tcp
psrsimplecache_redis_1         docker-entrypoint.sh redis ...   Up      6379/tcp

SSH into the application container

docker exec -ti psrsimplecache_application_1 sh
/var/www #

Execute the test suite

Run this command with output_buffering flag to force it to exist. By default php.ini it's off. It will perform many assertions to prove, against a real redis instance, that it's functioning as expected.

/var/www # php -d output_buffering=1 -f index.php
ALL TESTS PASSED

If any errors occur, you should see something like this

Warning: assert(): assert($res === false) failed in /var/www/index.php on line 57
UNEXPECTED OUTPUT DETECTED
Our Mission

We want to make open source more sustainable. The entire platform was born from this and everything we do is in aid of this.

Interesting Articles

Thank you for checking out LiveTechHelper |
2025 © lth-dev incorporated

p-e622a1a2