1

I am using MAMP and Codeigniter, the issue I am having is every time I change the controller or model, I have to restart the server to get the changes. Is there some kind of cache going on?

user2914136
  • 83
  • 2
  • 7

1 Answers1

0

What you need to do,

The modification is simple, its just a change to the MAMP preferences.

  1. Open MAMP
  2. Click the “Preferences” button or select “Preferences” from the MAMP menu
  3. Click on “PHP” in the tab-bar if its not already selected
  4. Change the “Cache” dropdown to be “––” so that no caching extension is used
  5. Click “OK” to save the changes
  6. Restart MAMP (click “Stop Servers” and then “Start Servers” once they’ve stopped)

Above is extracted from here.

Also see below

How to prevent http file caching in Apache httpd (MAMP)

Stop caching for PHP 5.5.3 in MAMP

Community
  • 1
  • 1
Techie
  • 44,706
  • 42
  • 157
  • 243
  • I tried your suggestion, when I use version 5.2.17, it works, 5.5.3 dose not work. Any idea why? – user2914136 Oct 24 '13 at 04:59
  • Please see the last link – Techie Oct 24 '13 at 05:02
  • Since you are new here, accept the answer(tick) which solved your problem. Up-vote(up arrow) the answer(s) which give(s) you information or help(s) you. Down-vote(down arrow) the answer(s) which are fake. – Techie Oct 24 '13 at 05:09