English 中文(简体)
• 如何与Zentd Framework和Wamp 2.2建立推进工程项目
原标题:How to create a propper working project with Zend Framework and Wamp 2.2

So i ve been at this for 2 days now and i cannot get it to work together. I have installed Wamp 2.2 in a standard manner at c:wamp, nothing special. I downloaded and extracted the Zend Frameworkm folder and placed the folder it in the C:wamplibrary folder.

因此,它希望:

C:wamp
   - www
 - ht.acces
 - index.php
   - bin
   - library
  - ZendFramework
      - bin
      - library
      - etc.
   - logs
   - tools
   - etc.

如今,按照指示,I将“C”站点和Zentd”框架图书馆列入称为“PATH”的系统变量:C.:wamplibraryendFrameworkin;C:wampinphp5.3.10;

现在,我可以开立圆柱,用 type子制造快速启动的项目,我指示它创建www.org. like:

C:wamp
   - www
 - quickstart
    - application
    - data
    - library
    - etc
 - ht.acces
 - index.php
   - bin
   - library
  - ZendFramework
      - bin
      - library
      - etc.
   - logs
   - tools
   - etc.

现在开始。 互联网上的所有指南都告诉我,这应当包括ZentdFramework文件夹在SendFramework文件夹中的位置。

既然如此,没有人要确切地讲明:C.ini文档! 其中2人,因为你们中多数人知道1人,1人掌握在册。

因此,我回答我的问题的第一部分,即,我确实需要吗?

Wich紧接着是第二编,如何适当建立虚拟东道方,而这正是在C:wampwwwquickstart上正确管理被冻结的申请所需要的。

从可以收集到哪些东西,需要修改档案。 组合文件 C.wampinApache2.2.21conf

我需要补充一些内容。

<VirtualHost 127.0.0.1>
     ServerName quickstart
     DocumentRoot "c:wampwwwquickstartpublic"
    <Directory "c:wampwwwquickstartpublic">
     AllowOveride all
     Order Allow,Deny
     Allow from all
    <directory>
<VirtualHost>

Then after doing so i need to change the host file in the directory c:windowssystem32driversetc. However at that point i am completely lost. My host file looks like this :

 --- standard commented wall of text ---

127.0.0.1       localhost

此时此刻,唯一知道似乎已经接近的一点是,我需要增加一条线:

127.0.0.1       localhost quickstart

Or something along those lines.

因此,在泽斯德框架方面的经验中是否有任何人可以向我提供答案? (a) 基本标准:

Björn -

最佳回答

First I m pretty sure that the php.ini you need to change for web display is the one in the apache folder. (it s been awhile since I ve used WAMP).

Next don t build your vhost in your apache config httpd.conf, do it instead in httpd-vhosts.conf. (you don t want to accidently break apache),
The way you stting your vhost at the moment you url will look like http:quickstart/
these two links will help:

Setup Apache vhost
Zend Server Vhosts

使用幽灵的关键内容之一是要记住,它会迎击当地幽灵,以免它消失。

各位窗户的档案必须用行政方式加以编辑,而且你可以拥有相同数目的多个东道方,就是一个例子:

# localhost name resolution is handled within DNS itself.
    127.0.0.1       localhost
#   ::1             localhost
    127.0.0.1       iam.local
    127.0.0.1       zfcms.local
    127.0.0.1       home.local
    127.0.0.1       places.local
    127.0.0.1       RentAFlat.local
    127.0.0.1       zf2-tutorial.local
    127.0.0.1       mp3.local
    127.0.0.1       quickstart

httpd-vhosts。 页: 1 这一点很重要。

<VirtualHost *:80>
    DocumentRoot "C:endApache2/htdocs"
    ServerName localhost
</VirtualHost>
<VirtualHost *:80>
    DocumentRoot "C:wwwiampublic"
    ServerName iam.local
    ErrorLog "C:endendServerlogsiam.local.log"
    <directory "C:wwwiam">
    Options Indexes FollowSymlinks
    AllowOverride all
    Order Deny,Allow
    Deny from all
    Allow from 127.0.0.1
    </directory>
</VirtualHost>

我希望这一帮助。

问题回答

看像 页: 1

<VirtualHost 127.0.0.1>

   ServerName quickstart
   (...)
<VirtualHost>




相关问题
Correct place to install demostration projects?

With the new Windows 7 restrictions (well, new to Windows Vista anyways), we can no longer install demo projects to %ProgramFilesFolder%OurApplicationdemo since restricted users will not be able to ...

.deb package conffiles problem

I am distributing one of my applications using a .deb package, but have a problem relating to one of the files. The distribution includes a database file which is constantly updated by the app, on a ...

Closing an application using WiX

In creating my WiX installer I have run into an issue when trying to close an application before installing the upgrade. Below is an example of how I am attempting to do this. <util:...

VS 2005 Setup - HKCU

I am trying to fix an existing application that uses a Visual Studio 2005 setup project. We are requiring it to work on limited user accounts for XP, our app is written in C# for .Net 2.0. It writes ...

Do I want Publish or Release Build in VB.net?

I wrote a little (like 40 lines little) Winforms application with VB.net in Visual Studio 2010. Now I ve released the code as a Google Code project. It s easy for a developer to get the source but I d ...

configsource and installer

I have an project csproj, with app.config file, and logging Ent.Library section using configsource attribute. The logging section is in ahother file Configloggingconfiguration.config. I have a ...

热门标签