我刚刚将 然后是应用程序 p> \ n
但不幸的是,上传大小仍然是默认的200 MB。 p>
请告诉我在哪里修改以及如何减少最大文件上传大小,因为200 MB的大小太大而且在我的应用程序中公开是危险的。 p> \ n div> upload_max_filesize code>更新为2M,
post_max_size code>更新为4M 在我的可扩展PHP应用程序中的
/ var / lib / openshift / xxx --- app-id --- xxx / php / configuration / etc / php.ini code>的php.ini中重新启动了盒式磁带: p>
$ rhc cartridge restart php -a“myapp”
code> pre>
$ rhc app restart -a“myapp”
code> pre>
I just updated upload_max_filesize
to 2M and post_max_size
to 4M in php.ini at /var/lib/openshift/xxx---app-id---xxx/php/configuration/etc/php.ini
in my scalable PHP app and restarted the cartridge:
$ rhc cartridge restart php -a "myapp"
And then the app
$ rhc app restart -a "myapp"
But unfortunately, the upload size still remains the default 200 MB.
Please tell me where else to modify and what else to do to reduce maximum file upload size because 200 MB size is too large and dangerous to be public in my app.