amnuts / opcache-gui

A clean, effective and responsive interface for Zend OPcache
1.23k stars 198 forks source link

Fatal error: Namespace declaration #35

Closed Niresh12495 closed 5 years ago

Niresh12495 commented 6 years ago

Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in /public_html/op.php on line 3

amnuts commented 6 years ago

Sorry for the slowness in responding; the index.php file does have the namespace declaration as the first statement after the opening php tag:

<?php

namespace OpcacheGui;

Could you perhaps be using an older version of the file, or maybe you have something else in your file that's not present in the one from the repo?