Want more timely Centmin Mod News Updates?
Become a Member

[Solved] Issue with php script

Discussion in 'Bug Reports' started by Shmee, Dec 12, 2015.

  1. Shmee

    Shmee New Member

    15
    2
    3
    Aug 27, 2014
    Space
    Ratings:
    +3
    Local Time:
    1:31 PM
    I'm not 100% sure, but I seem to be having caching issues with php scripts.

    When I change the scripts non dynamic content, and shift + F5, it doesn't seem to change right away, it takes a few minutes. could this be caused by a server setting?

    I added
    Code:
    ini_set('opcache.enable', '0');
    to my script and it no longer seem to have the issue. Is there any way to disable opcache for a single domain?
     
  2. Shmee

    Shmee New Member

    15
    2
    3
    Aug 27, 2014
    Space
    Ratings:
    +3
    Local Time:
    1:31 PM
  3. eva2000

    eva2000 Administrator Staff Member

    37,297
    8,150
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,546
    Local Time:
    1:31 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
..