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.com/manual/1.12/en/zend.controller.router.html , to the web.config in order to get the routing correct with the mvc.
<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>

Open in new window

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
LVL 13
haloexpertsexchangeAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

haloexpertsexchangeAuthor Commented:
Unfortunately I am not going to be using the zend server so the first link isn't as much use as I had hoped.
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.com/2011/09/making-zend-framework-run-under-iis/, I tried using the example project that was offered but I still cannot get it working.
Errors,[30-Sep-2013 11:52:15 America/Chicago] PHP Warning:  include(Zend/Session.php): failed to open stream: No such file or directory in C:\inetpub\test_site\public\index.php on line 24
[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\library') in C:\inetpub\test_site\public\index.php on line 24
[30-Sep-2013 11:52:15 America/Chicago] PHP Fatal error:  Class 'Zend_Session' not found in C:\inetpub\test_site\public\index.php on line 28

Any ideas?
0
haloexpertsexchangeAuthor Commented:
I got the project working when I swapped out the version of the zend framework to the older 1.1 version.
That appears to be working fine.
Not sure what the problem with zend 2 is but I am guessing that there is something else that needs to be done to get it to work on iis but since all the instructions I can find are for 1.1 I am stuck with the older version for now.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
haloexpertsexchangeAuthor Commented:
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.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.