A
A
Andrew2016-12-05 19:11:16
PHP
Andrew, 2016-12-05 19:11:16

What can be apache2 php wordpress caching??

What could be the problem.
The server (Debian 8) is running Apache2 + a virtual host for Wordpress.
An error occurred during operation. (Rules for some files manager - blog admin).. In general, the blog stopped working.
Restored file from backup. But Apache writes the same error to the log as before. They say there is a syntax error in such a file ...
Opcache is enabled. I tried to clear it - I created the opcache_reset.php file according to the content

<?php
opcache_reset();
?>

But when accessing it - HTTP ERROR 500
More interesting ... placed opcache_reset(); to an already existing info.php file. just output phpinfo(); I delete the line with phpinfo(); nothing really changes.
Rename file info.php anyway it is called.
When restarting/starting/stopping Apache, nothing changes.
I tried to turn off opcache in php.ini and reload Apache - the result is the same.
What else can be? Nothing really sensible about this to find a little.
Please write guesses, versions, suggestions, wishes expanded as much as possible)) because. I’m not very special in this matter .. for a couple of days I simply don’t have the strength to get angry, everything will be broken.
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrew, 2016-12-06
@AndrewSlv

in two files - php.ini (php5/apache2/php.ini and php5/cli/php.ini) opcache is commented out
;opcache.enable=0
restart/ stop-start / reload apache -
php -i issues:

Opcode Caching => Disabled
Optimization => Disabled
Startup Failed => Opcode Caching is disabled for CLI

Directive => Local Value => Master Value
opcache.blacklist_filename => no value => no value
opcache.consistency_checks => 0 => 0
opcache.dups_fix => Off => Off
opcache.enable => On => On
opcache.enable_cli => Off => Off

on the output of the mystic's blog:
1) info.php renamed to _info.php - at the request of www.blog.net/info.php it displays the old (as I think cached) data;
2) .htaccess deleted (made a copy);
3) /wp-admin/ does not open
4) writes an error in error.log -
Indeed, in the previous version of the file, Manager tried to comment out the code in line 51 by means of tags, of course, there is a PHP code - so it began to swear. BUT in the current file which is not on the server. The source file is what it should be originally. I uploaded it via FTP from a backup.
But anyway nothing works ...
What else can be a CACHE? how to find it. How to disable OPcache correctly.
No mod_cache or mod_cache_disk is connected.
Everywhere I find an answer like - stackoverflow.com/questions/21556437/disable-opcac...
But this [censored] does not help! as I described above.
Thank you.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question