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

226
Visualizações
AWS CodeDeploy - php apache code won't update after full /var/www/html replacement unless the target file is uploaded/modified particularly

I ran into some caching issue with php/apache on ubuntu server. I use AWS CodeDeploy to replace the whole /var/www/html with the git repo, code is updated in EC2, but browser does not reflect the change after deployment. However if I went into the file (let's say index.tpl) and add a random letter, I could then see the change. Also it works when I modify the target file and update only it via sftp client like filezilla. What happened?

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

0

Check which commit CodeDeploy is deploying. It may be pinned to an older commit.

over 4 years ago · Santiago Trujillo Relatório

0

its mostly opcache! you would need to flush it. have you tried doing a reload on apache to see if the changes apply?

over 4 years ago · Santiago Trujillo Relatório

0

I figured it out. Culprit was Smarty. Force compiling needs to be enabled.

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