Welcome! Log In Create A New Profile

Advanced

empty pages with php5-fpm/nginx

Posted by Veerle 
empty pages with php5-fpm/nginx
December 03, 2011 10:04PM
Hello,

not sure what's the problem, but i have some php scripts who don't run with php5-fpm but runs perfectly with apache2 and php5-cgi.


# php5-fpm -v
PHP 5.3.8-1~dotdeb.2 (fpm-fcgi) (built: Aug 25 2011 13:36:54)
# nginx -v
nginx: nginx version: nginx/1.0.10

There are no errors in the script, the output is just empty. Logging is on with log_errors=on, error_log=foo and error_reporting=E_ALL, but nothing in the logfile (but logfile works for other scripts):-(

Could it be a problem with the environment variables? Is there any difference between a script running with php5-cgi (and apache) and php5-fpm (and nginx)? Do i need some special variables for compatibility in the fastcgi_params?

Thanks
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 298
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready