Support » Plugin: WP OPcache » 500 error when trying to flush the cache

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author nierdz

    (@mnttech)

    Can you check your web server (apache or nginx) log please and show me this here ?

    We have apache, what kind of log do you want?

    What ever we can export from WHM/cpanel I can share, let me know what you´re looking for.

    Plugin Author nierdz

    (@mnttech)

    Error log from apache relevant to the 500 error you got

    [Sat Jun 02 04:59:25.588140 2018] [core:crit] [pid 11201:tid 140119474398976] (13)Permission denied: [client 162.158.78.51:22793] AH00529: /home/example/public_html/.well-known/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that ‘/home/example/public_html/.well-known/’ is executable
    [Fri Jun 01 21:34:37.033818 2018] [access_compat:error] [pid 1184:tid 140119432435456] [client 162.158.114.81:32133] AH01797: client denied by server configuration: /home/example/public_html/xmlrpc.php, referer: https://example.com/page/
    [Fri Jun 01 05:59:29.514430 2018] [access_compat:error] [pid 26141:tid 140399133820672] [client 162.158.178.116:22125] AH01797: client denied by server configuration: /home/example/public_html/xmlrpc.php

    Changed domain path here to example but you see the error here. This is errors form yesterday and today. Today was when opcache was installed with your plugin after that.

    • This reply was modified 2 years, 5 months ago by Rookie.
    Plugin Author nierdz

    (@mnttech)

    Those logs are not related to wp-opcache.
    You need to search logs with this keyword ‘flush-opcache’

    https://prnt.sc/jq69zt

    There is no error in the apache related to flush-opcache

    What is used for flush? We have changed URL path of the default wordpress so wp-json is no longer /wp-json/ etc.

    Plugin Author nierdz

    (@mnttech)

    Are you sure that error logs are on general error log for this particular vhost ?
    Can you look at the configuration file of this vhost and search for ErrorLog. It will tell precisely which file handled error logs. Then you can grep in this file.

    The plugin only use opcache_reset() : http://php.net/manual/fr/function.opcache-reset.php

    Ok will have a look at this tomorrow if I have a gap for that. Ok and then you just fetch that file ok got it. For now I can manually restart apache module which flushes it.

    so you fetch a .php file right? Where is it suppose to be located? So I can try to see if I find it, since I don’t.

    Plugin Author nierdz

    (@mnttech)

    Nope, I need error logs from this vhost cause errors you were showing are not related to my plugin so I can’t investigate or reproduce this behaviour.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘500 error when trying to flush the cache’ is closed to new replies.