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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T10:40:09+00:00 2026-05-30T10:40:09+00:00

I using library of Zend Framework and code php (no using struct zend, only

  • 0

I using library of Zend Framework and code php (no using struct zend, only use library of zend framework), when I load library of zend is error:

Fatal error: require_once() [function.require]: Failed opening required 'Zend/Search/Lucene/Storage/File/Filesystem.php' 
(include_path='.;C:\php\pear;C:\wamp\www\Zend') in C:\wamp\www\...\Zend\Search\Lucene\Storage\Directory\Filesystem.php on line 349

I put library of Zend in C:\wamp\www\Zend
I call library of Zend in code php here:

ini_set("include_path", ini_get("include_path") . ";C:\\wamp\\www\\Zend");
require_once 'Zend/Search/Lucene.php';

How to load library of zend in this case ?

  • 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-30T10:40:10+00:00Added an answer on May 30, 2026 at 10:40 am

    Try changing:

    ini_set("include_path", ini_get("include_path") . ";C:\\wamp\\www\\Zend");
    

    to

    ini_set("include_path", ini_get("include_path") . PATH_SEPARATOR . 'C:\\wamp\\www');  
    

    Since all of the Zend Framework files are included with the Zend directory leading the file names (i.e. require_once 'Zend/Search/Lucene.php'; your include path should include the path where the Zend directory is, but should not add the Zend folder itself to the include_path.


    Consider require_once 'Zend/Loader.php'; with the following include paths:

    C:\\wamp\\www\\Zend; resolves to require_once 'C:\\wamp\\www\\Zend\\Zend\Loader.php'; (wrong)

    C:\\wamp\\www, resolves to require_once 'C:\\wamp\\www\\Zend\Loader.php'; (correct)

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

Sidebar

Related Questions

How to use zend library without using zend framework installation? I am trying to
I have PHP project and I am using Zend Framework. There is a library
I am using Zend Framework's library to manage EC2 instances and AMI. However I
I am using the Zend library's XML RPC Client in a PHP application to
This article explains how to use Zend in Codeigniter. http://www.beyondcoding.com/2008/02/21/using-zend-framework-with-codeigniter/ I am using XAMPP
i'm using Zend Framework classes and i don't get code completion for them because
My goal is to require login for certain pages. I am using Zend Framework
I am developing an application to manage a law office using zend framework 1.10,PHP
i am developing a Rest Controller using Zend Framework and i have to use
I am using Lucene in PHP (using the Zend Framework implementation). I am having

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.