haloexpertsexchange
asked on
Trying to get Zend framwork to work on IIS localhost
I am trying to get the zend framework working with an IIS server on my local machine.
I am having some trouble because the directions are all for the apache server.
I am using netbeans and set up their example zend project.
I added these url rewrite rules that I found here,http://www.zendframework.c om/manual/ 1.12/en/ze nd.control ler.router .html , to the web.config in order to get the routing correct with the mvc.
All well and good but now all I get it a never ending spinning page when I go to localhost.
It never times out it just sits there spinning.
Any one have any experience with setting up the zend framework for IIS.
What have I missed?
Thanks
I am having some trouble because the directions are all for the apache server.
I am using netbeans and set up their example zend project.
I added these url rewrite rules that I found here,http://www.zendframework.c
<rewrite>
<rules>
<rule name="Imported Rule 1" stopProcessing="true">
<match url="^.*$" />
<conditions logicalGrouping="MatchAny">
<add input="{REQUEST_FILENAME}"
matchType="IsFile" pattern=""
ignoreCase="false" />
<add input="{REQUEST_FILENAME}"
matchType="IsDirectory"
pattern="" ignoreCase="false" />
</conditions>
<action type="None" />
</rule>
<rule name="Imported Rule 2" stopProcessing="true">
<match url="^.*$" />
<action type="Rewrite" url="index.php" />
</rule>
</rules>
</rewrite>
I set the website up in IIS and the zend library is included in the include_path on the php.ini file.All well and good but now all I get it a never ending spinning page when I go to localhost.
It never times out it just sits there spinning.
Any one have any experience with setting up the zend framework for IIS.
What have I missed?
Thanks
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The instructions hankknight provided were for the zend framework 1.1 not zend 2.
They were good, easy to understand for that purpose but didn't exactly work when I tried using them to get zend 2 working.
But they worked well when I had to fall back to the older version.
They were good, easy to understand for that purpose but didn't exactly work when I tried using them to get zend 2 working.
But they worked well when I had to fall back to the older version.
ASKER
I looked through the explanations that the second two offer and they are useful but I still can't seem to get the url rewrites necessary working.
After following the directions I found here, http://blog.richardknop.co
Errors,[30-Sep-2013 11:52:15 America/Chicago] PHP Warning: include(Zend/Session.php):
[30-Sep-2013 11:52:15 America/Chicago] PHP Warning: include(): Failed opening 'Zend/Session.php' for inclusion (include_path='C:\Program Files\ZendFramework-2.2.4\
[30-Sep-2013 11:52:15 America/Chicago] PHP Fatal error: Class 'Zend_Session' not found in C:\inetpub\test_site\publi
Any ideas?