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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T08:56:49+00:00 2026-06-10T08:56:49+00:00

Zend framework is new to me and I’m working from a book so I

  • 0

Zend framework is new to me and I’m working from a book so I can get a rudimentary grasp of things (book is Zend Framework A Beginners Guide).

I have my project set up and have created it in a folder called “test”

I have also added a vhost, vhosts file contains:

<VirtualHost *:80>
   DocumentRoot "C:/Program Files/Zend/Apache2/htdocs/test/public"
   ServerName .localtest

   # This should be omitted in the production environment
   SetEnv APPLICATION_ENV development

   <Directory "C:/Program Files/Zend/Apache2/htdocs/test/public">
       DirectoryIndex index.php
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>

</VirtualHost>

I have called the vhosts file from within apaches conf file

I have also added a line to system32 hosts file:

127.0.0.1 test.localtest

My problem is that when I browse to http://test.localtest/ I get the zend server test page, when as from what I am reading I should be getting the Zend Framework projects Main Page splash, this I can reach by browsing to http://test.localtest/test/public/

Am I missing something?

  • 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-10T08:56:50+00:00Added an answer on June 10, 2026 at 8:56 am

    Try changing

    <VirtualHost *:80>
       DocumentRoot "C:/Program Files/Zend/Apache2/htdocs/test/public"
       ServerName .localtest
    

    to

    <VirtualHost *:80>
       DocumentRoot "C:/Program Files/Zend/Apache2/htdocs/test/public"
       ServerName test.localtest
    

    EDIT

    ok i have check on my system and it work perfectly, but i am using ubuntu hope this helps

    edit this file

    C:\Program Files\Zend\Apache2\conf (Zend Server on Windows machines)
    

    and add this code

    <VirtualHost *:80>
        ServerName test.localtest
        DocumentRoot "C:/Program Files/Zend/Apache2/htdocs/test/public"
    
        SetEnv APPLICATION_ENV "development"
    
        <Directory "C:/Program Files/Zend/Apache2/htdocs/test/public">
            DirectoryIndex index.php
            AllowOverride All
            Order allow,deny
            Allow from all
        </Directory>
    </VirtualHost>
    

    then edit this file

    C:\WINDOWS\system32\drivers\etc\hosts
    

    and add this line

    127.0.0.1 test.localtest
    

    and then dont forget to restart you apache server (wamp or xampp or anything you are using)

    and then open this link

    http://test.localtest
    

    try to write the url with http:// sometimes the browser does not work without http://

    try it comment if it does not work

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

Sidebar

Related Questions

I am new to Zend framework and have just started working on it. I
I am very new to Zend Framework. And i have tried to get the
I'm new to Zend Framework MVC. I love a lot of things about working
I am pretty new to the zend framework and the JQuery helper. I have
Hi I am fairly new to Zend framework. I am working with a tutorial
I have a simple grid in my Zend Framework application: $grid = new Cubique_Grid('user');
I am new to zend framework. I have write this code to set cookie
I'm creating new application using zend framework with several modules. Can you please advice
I am busy with a new project based on zend framework. I have created
every body! I am new to zend framework, I am working on ajax based

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.