1

I have a vps with Debian 6.0.5, installed with Nginx + PHP5-FPM using package from dotdeb using a setup script introduced by a blog. Everything works like charm for my wordpress and phpmyadmin.

Now, I wanted to install beanstalkd into the vps, and decided to use some PHP web app to manage beanstalkd. I've installed phpBeanstalkdAdmin and Beanstalkd console. Both failed to run properly.

phpBeanstalkdAdmin returns a page like

phpBeanstalkdAdmin
Home
About
layout()->content?>

Beanstalkd console displayed an empty tube once server is configured. Before that, the error message is also missing.

When I install both in my local machine running XAMPP, which is Apache + PHP5, and point the configuration to my vps' beanstalkd, it works. Further more, before configuration Beanstalkd console would display proper error message unlike when running on Nginx + PHP5-FPM.

I've tried to use XDebug and didn't find any error or anything wrong when stepping through both web app. Both web app utilizing Zend Framework. I didn't find any specific setup which is required to run Zend Framework on Nginx + PHP5-FPM, and have tried various addition of the basic configuration such as fixing Path_Info & PHP_SELF

I would really love to use Nginx instead of Apache for my vps as I have a small box.

Any insight or guide on this issue is much appreciated.

3
  • Have you error logging enabled to the highest level in PHP? Have you logging enabled for fastcgi? Have you logging enabled for your webserver? If not, do so. Then report the errors you get or the logging information what actually happens. Commented Sep 30, 2012 at 13:59
  • Yes, error logging is enabled and all error except deprecated is logged. Like Tim's said, short_open_tag was the issue Commented Oct 1, 2012 at 11:24
  • 1
    Okay that specific issue won't give you any error message, true. But I though I had reviewed the source-code yesterday and I didn't see short-tags. Which file was that? Commented Oct 1, 2012 at 11:25

1 Answer 1

2

Check the value of PHP's short_open_tag on both (should be listed in phpinfo). My guess is you need to turn it on for your VPS.

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks, you saved my day. Never thought that Zend framework would allowed short tag, and I didn't take a closer at the html generated.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.