The value of the variable does not update [closed]

0
Hello, I installed BitAMI WAMP and I'm using php 7.1.7 and when I edit the value of a variable, and I give F5 in the browser, the value of the variable does not change in the web page.

I tested 3 browsers, Firefox (what I use), Chrome, and Edge. I am using echo to show the value of the variable, and the value does not change at the same time I update the browser, I have to wait for 2 to 3 minutes and then refresh the browser again and then refresh. This procedure is every time I change my script, I'm only using 2 lines, one for variable and one for echo and nothing else.

Does anyone know how to solve this? I have already used .htaccess and apache conf changes and have not resolved.

    
asked by anonymous 13.09.2017 / 20:42

1 answer

0

I think it might be a Cache problem, I've heard of it in apache and php, I'm not sure if it will work, but try setting the following:

1) Google PageSpeed Module is enabled on these lines in {$ INSTALL_DIR} /bin/apache/conf/httpd.conf:

 Include conf/pagespeed.conf
 Include conf/pagespeed_libraries.conf

Comente essas linhas para desativar este módulo.

2) PHP has Op Cache enabled on rows in {$ INSTALL_DIR} /bin/php/etc/php.ini:

 opcache.enable=1
 opcache.enable_cli=1

Desative mudando de 1 para 0

If not, I can not imagine what it is.

    
14.09.2017 / 01:34