Opcache is causing connection reset of "site administration" pages

Opcache is causing connection reset of "site administration" pages

by Nadirshah Ferozepurwalla -
Number of replies: 5

Enabling opcache as recommended in notifications, creates problems in fetching admin pages,

Please help with solution,

screengrab


Average of ratings: -
In reply to Nadirshah Ferozepurwalla

Re: Opcache is causing connection reset of "site administration" pages

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Operating system?
PHP version?
How was PHP installed?
Moodle version?
What is in the web server's error log?

In reply to Howard Miller

Re: Opcache is causing connection reset of "site administration" pages

by Nadirshah Ferozepurwalla -

Operating system? Windows Server 2008 R2
PHP version? PHP Version 7.2.6
How was PHP installed? XAMPP
Moodle version? Moodle 3.4.3+ (Build: 20180706)
What is in the web server's error log? nothing, no errors.

In reply to Nadirshah Ferozepurwalla

Re: Opcache is causing connection reset of "site administration" pages

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

https://stackoverflow.com/questions/3719549/where-does-phps-error-log-reside-in-xampp   (for example)

BTW... if this is a 'production' Moodle (as opposed to development or testing) then you shouldn't be using xampp. It's not suitable. 

In reply to Howard Miller

Re: Opcache is causing connection reset of "site administration" pages

by Nadirshah Ferozepurwalla -

what should by used in its place which is as simple and user friendly as xampp?

Operating system? Windows Server 2008 R2
PHP version? PHP Version 7.2.6
How was PHP installed? XAMPP
Moodle version? Moodle 3.4.3+ (Build: 20180706)

What is in the web server's error log? nothing, no errors.

(i mean there are no errors in the logs, of xampp, php, mysql, no errors documented)

In reply to Nadirshah Ferozepurwalla

Re: Opcache is causing connection reset of "site administration" pages

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

I don't use Windows at all, but I believe their are 'production standard' PHP install packages available.

Of course, you still need to know how to configure it all to be secure.