Jump to content
View in the app

A better way to browse. Learn more.

The Uniform Server Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

eAccelerator not playing nice with Doctrine2

Featured Replies

Hey,

 

Doctrine2 (www.doctrine-project.org), a nice PHP ORM, uses phpdoc reflection for determining table metadata.

When working against cached versions of the entities classes, the scripts fail because I believe their phpdoc comments are stripped when the class is cached.

 

I've read there is a compile time switch that would prevent eaccelerator from stripping those comments.

It could be useful now, when more and more projects start using this type of reflection.

 

Any chance this could make it into a next version or at least a plugin?

Also, the shared memory caching of eAccelerator doesn't seem enabled (eaccelerator_get function undefined). This would force us using a different caching library for metadata - again, there should be a compile time switch for this.

 

Thank you!

Costin

  • Author

Just realised why my xdebug sessions were shutting down apache when using watches.

Guess what: eaccelerator...

Disabling it made all problems go away.

Just installed a windows version of memcached - perfectly functional for caching some query/metadata info.

 

I think that should be a more valuable addition to Uniserver than eaccelerator, at least until that's more stable.

 

Thanks again.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.