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 8105903
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T00:17:35+00:00 2026-06-06T00:17:35+00:00

I have an application developed in Zend Framework 1.11. I use Zend_OpenId to create

  • 0

I have an application developed in Zend Framework 1.11. I use Zend_OpenId to create a single sign on with partner websites. This has been functioning fine until I upgraded my version of PHP to 5.3.13. I now get the error stated below:

Error: Cannot access storage directory /root/tmp/

I have tracked this down to Zend_OpenId_Consumer_Strorage_File. The temp directory is getting set by getenv(‘TMP’) which returns /root/tmp. If i override this by hard coding the tmp directory to /tmp my OpenId SSO app works again.

I have a second server which the app works on, but it is running an earlier version of PHP 5.3. Testing getenv(‘TMP’) returns false on that server, so Zend looks in /tmp.

Is it possible to either:

a) Override the storage directory in Zend?
b) Disable getenv on the server running 5.3.13 so that it returns false and so Zend looks in /tmp and not /root/tmp?

  • 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-06-06T00:17:38+00:00Added an answer on June 6, 2026 at 12:17 am

    Thanks to Aurimas for his comment. For those of you interested in the answer who may have a similar problem I have overridden the constructor:

    $dir = new Zend_OpenId_Consumer_Storage_File('/tmp');
    $consumer = new Zend_OpenId_Consumer($dir);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have developed a Zend Framework application, which works well on xammp and windows.
I'm working on an application developed using Zend Framework. I have defined relationships in
I have a web application developed with Spring 2.5. The application has numerous controllers,
I developed a application with Zend Framework and now I want to be able
I have an application developed in C++ running on Linux. This application opens certain
I have an application developed for iPhone OS 3.+. This application uses in-app purchase.
I have got an application developed with Monotouch 4.0.7. This app is running on
I have a web application developed in ASP.net & C#. I also use Telerik
I have installed Zend server and developed a sample application, and iam surprised when
We have an application server developed with Delphi 2010 and Indy 10. This server

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.