Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP-APC is not included to docker container #57

Closed
jbrooksuk opened this issue Apr 8, 2016 · 3 comments
Closed

PHP-APC is not included to docker container #57

jbrooksuk opened this issue Apr 8, 2016 · 3 comments
Labels

Comments

@jbrooksuk
Copy link
Member

Copied from cachethq/cachet#1694

Hi I noticed that Cachet container does not has php-apcu package so if user choose APCu as cache module he would get 500 error.

Debian Sid has php-apcu deb package in official repository so we can just add this package name in Docker file.

Your setup

  • I use Docker compose for version 2.2
  • Cachet 2.2
  • Database Postgres
  • PHP 7

Actual behaviour

Cachet not wors and generate 500 error after docker container restart.

[2016-04-07 21:29:18] production.CRITICAL: Symfony\Component\Debug\Exception\FatalThrowableError: Fatal error: Call to undefined function Illuminate\Cache\apc_fetch() in /var/www/html/vendor/laravel/framework/src/Illuminate/Cache/ApcWrapper.php:32

Steps to reproduce

Follow docker-compose installation guide and chose APCu as cache module. Then restart docker container.

@djdefi
Copy link
Contributor

djdefi commented Apr 8, 2016

Looks like we missed this when we switched to php 7.

@djdefi
Copy link
Contributor

djdefi commented Apr 8, 2016

Taking a closer look, there is no official Debian sid package for a PHP 7 APCu module. The one linked above is for php5.

@djdefi
Copy link
Contributor

djdefi commented Apr 8, 2016

Ugh, APC with PHP 7 on Sid is painful. I am likely roll the base image back to Jessie so we can have a vendor package until PHP 7 and APC has better support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants