MAMP stack, nette, cache issues on a mac

Notice: This thread is very old.
pistols
Member | 26
+
0
-

Hello There, this is not an question but rather an answer.

If you have late reactions of your nette app (changes not taking effect) in your mac development environment based an a MAMP stack, then you should definitely comment the OPcache section in your php.ini file usually found here:

/Applications/MAMP/bin/php/php<version>/conf/php.ini

actual snippet from my php.ini

;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

Last edited by pistols (2014-11-07 11:13)