I develop on Mint Linux localhost.
I (usually) install on a CentOS virtual dedicated server. I try to keep both regularly updated. But codes from localhost often produce a "cannot re-declare class" error on CenOS apache2 even when relevant files are referenced with either include_once or require_once.
I can fix that error (on the server) by trial and error removal of offending include statements. But that limits the portability of the included modules in other contexts. This must be a bug. Has anybody else seen the same behavior?