Zend Framework/PHP5 running as cgi

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
jsahleen
Forum Newbie
Posts: 1
Joined: Sun Apr 13, 2008 12:18 pm

Zend Framework/PHP5 running as cgi

Post by jsahleen »

Hi all,

I'm desperately looking for an answer to this problem. I am using Zend Framework 1.5 to build a course management system for a course at Stanford university. I have everything running perfectly on my local machine, but when I try to deploy the site on the Stanford server it doesn't work. In particular, it seems that the application can't find any of the necessary controllers. I keep getting an invalid controller specified (error), which seems to suggest it can't find any of my controllers at all. (Obviously I'm using MVC.) On my local machine I am running php as an Apache module, but at Stanford they are running it as cgi. Could that be the problem? Does anyone have any Zend Framework experience out there?

I've checked all the php.ini settings on my local machine and on the Stanford server and I can't see any significant differences. I honestly don't know why it works on my machine but not there. I have also tried deploying on my demo server which also runs php as cgi and it doesn't work there either. (I'm on a joyent shared accelerator.) Any insight into what might be going on would be very much appreciated.

Sorry I can't be more specific about the error. I honestly don't know what it is.

Thanks.

J.
Post Reply