Blogs

If you’ve been thinking -

  1. My CPU’s usage is way below 50%. So CPU is definitely not the problem.

  2. My memory consumption is also OK & there are no restarts. So it’s not a problem.

  3. Is it about the other containers on the same host eating up my resources?

  4. Is it my code ?

  5. Is it throttling ? No, CPU usage is less, so it can’t be

The default php images like php:7.0-fpm may not contain all required php extensions like mysqli, pdo, mbstring, which are the most common requirements for a website based on PHP or a framework like Drupal, Wordpress or Laravel. In such cases, the extensions need to be manually added to the image. This can be done as follows -