php questions

Discussion in 'OT Technology' started by crotchfruit, Oct 31, 2003.

  1. crotchfruit

    crotchfruit Guest

    1. has anyone ever used the zend optimizer? does it really work (despite what their website claims..)? what kind of performance increase do you see?

    regarding sessions. i've read that you cannot set session.auto_start to true if you are serializing classes, because the class definition has not been loaded at the process start (so it can't rebuild the session class info.) does this mean that you have to call session_start() after the class definitions that are to be unserialized?

    for example, assuming i want to serialize class foo in a session,do i have to do this:

    class foo {}

    or am i also allowed to do this:

    class foo {}
  2. Astro

    Astro Code Monkey

    Mar 18, 2000
    Likes Received:
    Cleveland Ohio
    Very good questions... The server is on has the Zend Optimizer installed and enabled. I'm pretty happy with the performance. and hitting up some of the results pages with graphs are pretty server intense and so far its doing a great job.

    As for the session serialization, I don't have an answer for you on that. It sounds like you may need to spend a few minutes and experiment with it.

Share This Page