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.
So it looks like this :
C:\wamp
- www
- ht.acces
- index.php
- bin
- library
- ZendFramework
- bin
- library
- etc.
- logs
- tools
- etc.
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\;
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 :
C:\wamp
- www
- quickstart
- application
- data
- library
- etc
- ht.acces
- index.php
- bin
- library
- ZendFramework
- bin
- library
- etc.
- logs
- tools
- etc.
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".
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.
And so i come with my first part of my question, wich one do i need?
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.
From what i could gather i need to change the file httpd.conf file in the folder C:\wamp\bin\Apache2.2.21\conf\
I need to add something along the lines of
<VirtualHost 127.0.0.1>
ServerName quickstart
DocumentRoot "c:\wamp\www\quickstart\public"
<Directory "c:\wamp\www\quickstart\public">
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:\windows\system32\drivers\etc. However at that point i am completely lost. My host file looks like this :
--- standard commented wall of text ---
127.0.0.1 localhost
And at this point the only thing i know that seems to get close to it is that i need to add the line :
127.0.0.1 localhost quickstart
Or something along those lines.
So is there anyone out there with experience regarding Zend Framework that could provide me with an answer? It would be much appriciated :)
Björn -