Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6674823
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T03:46:35+00:00 2026-05-26T03:46:35+00:00

I am using the Zend Autoloader to load Zend classes for integrating Zend_AMF with

  • 0

I am using the Zend Autoloader to load Zend classes for integrating Zend_AMF with my application. Everything was working perfectly until I installed APC 3.1.9 and enabled it.

I am getting this error:

Fatal error: Access to undeclared static property: Zend_Loader_Autoloader::$_instance in C:\blahblah

I am assuming that APC seems to have trouble with autoloaders and static properties and static methods.

APC is version 3.1.9 and is installed on a Windows 7 machine with PHP 5.3.8 running as fastCGI on an Apache 2.2 server.

Has anyone seen this error before? If so, what are some ways to fix this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T03:46:35+00:00Added an answer on May 26, 2026 at 3:46 am

    Looks like it was actually not the fault of the autoloader. APC sometimes does not play nice if you have a custom session handler.

    The trick is to add this to the earliest part of your script (the first include if possible): register_shutdown_function('session_write_close');

    This will tell PHP to finish writing and close (not destroy!) the session when the script finishes executing or is terminated (using exit() etc).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using Zend Debugger to debug my php application built based on the
I'm using APC (3.1.9) and Zend Framework, however, only a bunch of file are
Using PHP 5.3 and Zend Framework 1.11.7 I've been trying to configure the AutoLoader
so basically I'm using Zend Framework's autoloader to autoload my functions. But because of
Using Zend Framework, I've created a Model to insert a record into a database.
I've been using Zend Studio for Eclipse for about a year, and our SVN
I've been using Zend and need a search. The Zend docs aren't great so
I am using Zend_Framework's Zend_Controller_Action to build a facebook application. I followed the step
I m using zend. I want to define the below code outside the controller
I have recently started using Zend Studio which has reported as warning the following

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.