Hello. I used to use apache - everything worked. Now installed nginx and all methods and attributes marked as protected do not work. Gives an error message:

Cannot access protected property.

Do not tell me what could be the problem .. Maybe what php settings or something like that ...

  • With certainty I can say one thing - nginx has nothing to do with it. Debug your PHP script, see what connects and calls where, and learn how to use step- by -step debugger . - Ilya Pirogov

1 answer 1

I had it that way when I put nginx + eAccelerator + php-fpm.

The error then was in eAccelerator, if you have one, see what version you have and google it.