Changes to Code Not Reflected Immediately

You can ask general questions about MAMP here.

Moderator: severin

Post Reply
cienki
Posts: 2
Joined: Fri 4. Oct 2013, 01:48

Changes to Code Not Reflected Immediately

Post by cienki » Fri 4. Oct 2013, 01:57

Hi all,

I'm having an issue running MAMP on OS X 10.8.5 where I will make updates to my code, go back to the browser and refresh the page, but no changes are reflected. However, if I keep refreshing or wait for about 30 seconds, the page does eventually reflect the change. Needless to say this is getting quite frustrating.

The issue is happening in Chrome, Firefox, and Safari.

I've tried switching my Apache port to 80 and my MySQL port to 3306, but the same issue occurs.

Any help you can provide would be awesome, thanks.

cienki
Posts: 2
Joined: Fri 4. Oct 2013, 01:48

Re: Changes to Code Not Reflected Immediately

Post by cienki » Tue 3. Dec 2013, 05:37

I found the solution through some more searching. I commented out Opcache in php.ini

[OPcache]
;zend_extension="/Applications/MAMP/bin/php/php5.5.3/lib/php/extensions/no-debug-non-zts-20121212/opcache.so"
; opcache.memory_consumption=128
; opcache.interned_strings_buffer=8
; opcache.max_accelerated_files=4000
; opcache.revalidate_freq=60
; opcache.fast_shutdown=1
; opcache.enable_cli=1

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests