Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

225
Views
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 answers
Answer question

0

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

over 4 years ago · Santiago Trujillo Report

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 Report

0

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

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!