Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to create a propper working project with Zend Framework and Wamp 2.2
    primarykey
    data
    text
    <p>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:\wamp\library folder.</p> <p>So it looks like this :</p> <pre><code>C:\wamp - www - ht.acces - index.php - bin - library - ZendFramework - bin - library - etc. - logs - tools - etc. </code></pre> <p>Now as instructed i added both the php location and the Zend framework library to the system variable called PATH wich looks like this : ..;C:\wamp\library\ZendFramework\bin\;C:\wamp\bin\php\php5.3.10\;</p> <p>Now i can open cmd and type zf create project quickstart, i directed it to create the folder in the www. directory of wamp like this :</p> <pre><code>C:\wamp - www - quickstart - application - data - library - etc - ht.acces - index.php - bin - library - ZendFramework - bin - library - etc. - logs - tools - etc. </code></pre> <p>Now starts the fun part. All the guides around the internet tell me that i should include the location of the library folder inside the ZendFramework folder in the php.ini at the windows version of include_path: "C:\wamp\library\ZendFramework\library".</p> <p>Now the fun part is that no one mentions exactly wich php.ini file! There are 2 of them as most of you know one in the php directory and one in the apache directory.</p> <p>And so i come with my first part of my question, wich one do i need?</p> <p>Wich is soon after followed by part 2, how to propperly set up the virtual host that is supposedly needed to correctly run the zend application in the folder C:\wamp\www\quickstart.</p> <p>From what i could gather i need to change the file httpd.conf file in the folder C:\wamp\bin\Apache2.2.21\conf\</p> <p>I need to add something along the lines of</p> <pre><code>&lt;VirtualHost 127.0.0.1&gt; ServerName quickstart DocumentRoot "c:\wamp\www\quickstart\public" &lt;Directory "c:\wamp\www\quickstart\public"&gt; AllowOveride all Order Allow,Deny Allow from all &lt;\directory&gt; &lt;\VirtualHost&gt; </code></pre> <p>Then after doing so i need to change the host file in the directory c:\windows\system32\drivers\etc. However at that point i am completely lost. My host file looks like this :</p> <pre><code> --- standard commented wall of text --- 127.0.0.1 localhost </code></pre> <p>And at this point the only thing i know that seems to get close to it is that i need to add the line :</p> <pre><code>127.0.0.1 localhost quickstart </code></pre> <p>Or something along those lines.</p> <p>So is there anyone out there with experience regarding Zend Framework that could provide me with an answer? It would be much appriciated :)</p> <p>Björn -</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload