13
3
When I try to upload a file to my site, I'm getting the Nginx "413 Request Entity Too Large" error, however in my nginx.conf file I've already explicitly stated the max size to be about 250MB at the moment, and changed the max file size in php.in...
2010-12-06
16
8
我一直在维护的基于Zend Framework的站点现在正在迁移到它的生产服务器上。这台服务器使用的是nginx(surprise!)。当然这个站点不能正常运行,因为它是在Apache环境下开发的,并且依赖于一个htaccess文件。 我的问题是... 有人有这方面的经验吗?如何将htaccess文件所做的事转化到nginx.conf里?我正在研究这个,但我希望有人已经有这方面的经验。感谢! EDIT:这是当前的htaccess文件: RewriteEngine On RewriteCo...
4
2
I got server setup with nginx+php-fpm and mysql. I have another server with only installed php-fpm, so wanted to use as load balance. But when I am using this dedacted server with php-fpm as load balancer, I got error when opening page: "Access d...
2011-03-17
5
1
I have this nginx vhost file server { # php/fastcgi listen 80; server_name trinityplex.com www.trinity.com; access_log /home/web/trinity_web/log/access.log; root /home/web/trinity_web/public; location / { inde...
2011-04-17
7
1
What is a good way of using PHP with nginx? From the finding I got, maybe using PHP-FPM might be a good way of handing PHP behind nginx. The problem we have is that the free web based API we serve gets a lot of request (about 500K a day), the r...
2010-08-03
10
1
I have this vhost conf server { # php/fastcgi listen 80; server_name trinityplex.com www.trinity.com; error_log /home/web/trinity_web/log/error.log; access_log /home/web/trinity_web/log/access.log; root /home/web/t...
2011-04-17
6
5
is it useful to server static data using Nginx(Images,css,js) and dynamic data (App code+database) using Apache ? ...
2010-12-28
16
6
I am getting a 502 Bad Gateway from Nginx on a line of PHP code that is working fine in other places of my program ($this->provider = new OAuthProvider();), and that have worked fine before. This is the message I get in the Nginx error log for...
2010-09-01
1
2
I can't seem to get the function connection_aborted to work with nginx. The code I used to test is as follow: <?php ignore_user_abort(true); ob_implicit_flush(); $i = 0; while (!connection_aborted()) { echo $i; $i++; sleep(1); } f...
2010-05-22
14
2
Apache lets you set php.ini values for virtual hosts with the php_value directive. Does nginx have something similar? Is there another way to set the include_path on a per-site basis? ...
2009-08-01