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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T10:14:33+00:00 2026-06-05T10:14:33+00:00

Am using Zend framework along with zend studio. Am confused with following files 1)Bootsrap.php

  • 0

Am using Zend framework along with zend studio. Am confused with following files

1)Bootsrap.php

2).htaccess

3)application.ini

4) index.php

I have edited all these files to run my applicaiton on Virtaul host. However I have confused with above mentioned file, as which code goes in which file.

Also Am getting error, when I created new project using zend studio

“Uncaught exception ‘Zend_Application_Bootstrap_Exception’ with message ‘No default controller directory registered with front controller’ in”

if you can give some guidelines on the above will be great

Thanks,

  • 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-05T10:14:36+00:00Added an answer on June 5, 2026 at 10:14 am

    index.php is the PHP script that acts as the gateway to your entire application. This script creates your Zend_Application, bootstraps it and runs it.

    .htaccess is used by Apache to route all requests to non-existent files and directories to your index.php script so that Zend Framework can handle the URLs and route them to the appropriate module, controller and action.

    Bootstrap.php can be used to write blocks of code to bootstrap (set up) require parts of your application (e.g. database connection, sessions, paths etc). The bootstrap is called almost immediately after your application starts running and before any routing, dispatching or anything takes place.

    application.ini is also used to configure your application. Much of what can be done in the Bootstrap.php file can be done in the application.ini file. There are a number of resource plugins available that can take configuration in your application.ini file and set up specific aspects of your application.

    Most of what you can do using PHP code in your Bootstrap, can also be done in application.ini using ini notation instead of code, which is often easier for certain people to maintain.

    The Zend Framework MVC Theory of Operation covers some points of interest that I think would be helpful in understanding the bootstrap process.

    To resolve the error you are getting, try adding this line to your application.ini:

    resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
    

    This makes use of the aforementioned resource plugins, in specific the FrontController resource plugin which sets up the front controller.

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

Sidebar

Related Questions

I have a PHP MVC application using Zend Framework. As presented in the quickstart,
I'm using a traditional Zend framework application generated using Zend tool . I have
Hi all I am using Zend framework for my PHP project. Basically I have
i am using zend framework for my application and i have used few regex
I'm using Zend Framework and MySQL. The users of my application will have the
I am using zend framework with PHP to develop a web application where I
I set up a Zend Framework application using Zend_Tool, but I wanted multiple modules
I'm trying to develop a site using Zend Framework, but i have a problem:
I'm using Zend Framework AutoDiscovery to generate WSDL for a PHP SOAP Web Service.
I'm using Zend framework, and most of the action controller that I have return

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.