Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

680
Visualizações
Fatal Error: Call to undefined function imap_open PHP

I have followed the steps below to enable IMAP and still things are not working.


    sudo apt-get install php5-imap
    sudo apt-get install php5-cli
    sudo php5enmod imap 
    service php5-fpm restart
    sudo service nginx restart


I can see the IMAP extension enabled under phpinfo and also can see the extension is loaded using command dpkg -l | grep php5-imap

Server: Linux and using nginx

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

This should be a comment, but I haven't got the reps for comment, so...

  1. Try to check your extension file, i.e. make sure that in /etc/php5/mods-enabled/imap.ini, the keyword extension=/path/to/imap.so is not commented (having ; or # as its beginning of line) and your /path/to/imap.so file exists.

  2. Try to check if you had multiple php-fpm services running. Use systemctl list-unit-files | grep php to check. If you had multiple php-fpm services, make sure you had installed imap extension to the correct php-fpm instance.

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda