question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

missing php-imap breaks lamp-server (chapter 6)

See original GitHub issue

In chapter 6, lamp server in nine lines, lamp.yml fails to provision because of missing php-imap rpm. This is because the package is in epel which is not enabled.

This seems like a known issue: ansible-role-php #133

Adding the role geerlingguy.repo-epel at the top in requirements.yml and lamp.yml fixes the issue for me.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
ngstigatorcommented, Dec 25, 2019

I didn’t really need the ‘php-imap’ package so it was just a matter of commenting out the variable.

php_packages:
  - php
  - php-cli
  - php-common
  - php-devel
  - php-fpm
  - php-gd
  #  - php-imap
  - php-ldap
  - php-mbstring
  - php-opcache
  - php-pdo
  - php-pear
  - php-pecl-apcu
  - php-xml
  - php-xmlrpc
0reactions
ngstigatorcommented, Dec 23, 2019

The centos8 epel referenced above doesn’t seem to have php-imap neither, or perhaps I’m missing something 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Setting Up LAMP : Getting Linux, Apache, MySQL, and PHP ...
Chapter 6 : Linux Security. 133. Chapter 7: Electronic Mail. 161. Chapter 8: Apache Web Server: Installation and Configuration.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found