-1

Scenario: Installed an adult tubescript for a pornsite. Keeps having problems with file upload over 8MB

I figured it has something to do with php.ini, so I checked and changed it to

post_max_size = 200M
upload_max_size = 200M

On .htaccess of the script, there is these two lines:

php_value upload_max_filesize 1000M
php_value post_max_size 1000M

but when I check using phpinfo(), post_max_size is still 8M and I still can't upload anything over 8MB. I've been working on this for 3 days now and I really can't figure it out.

What could possibly be causing this?

Dedicated Server: FreeBSD 8.2, Nginx 1.0.6, PHP 5.2

4

1 回答 1

0

我了解到 Nginx 需要一个 php feeder/loader:fastcgi

就我而言,它是spawn-fcgi

这是我修复它的方法

/usr/local/etc/rc.d/spawn-fcgi restart
/usr/local/etc/rc.d/nginx restart

感谢您的回复。归功于 DarkZenith 的指针。

于 2013-06-19T18:04:36.477 回答