First off I'm new to Linux.
I've installed Apache, Mysql and PHP on to a raspberry pi(Debian, not raspbian, so all command driven), and i've written a file upload php script, which works for small files, but I can't get it to upload a 85M file, it doesn't come back with any warnings or errors(I have taken the script size limitations out).
I have tried changing the max_upload, etc in the /etc/php5/cli/php.ini and /etc/php5/apache2/php.ini and nothing makes a difference, am I missing something or is there a limitation on the pi?
The point of this website is to allow large uploads directly onto the company network as have shared the upload directory.
Any help would be greatly appreciated
关注
码龄 粉丝数 原力等级 --
- 被采纳
- 被点赞
- 采纳率

已采纳
Debian Php Max文件上传
收起
- 写回答
- 好问题 0 提建议
- 关注问题
微信扫一扫
点击复制链接分享
- 邀请回答
- 编辑 收藏 删除 结题
- 收藏 举报
2条回答 默认 最新
- 关注
码龄 粉丝数 原力等级 --
- 被采纳
- 被点赞
- 采纳率
doudang9147 2014-05-02 08:19关注You probably did everything right, but didn't do enough. To my knowledge, there are a few things to change in a config:
# Max file size: upload_max_filesize = some value # But let's not forget that files are a part of POST request, so let's set its limits as well: post_max_size = some value
Maybe this will help
本回答被题主选为最佳回答 , 对您是否有帮助呢? 本回答被专家选为最佳回答 , 对您是否有帮助呢? 本回答被题主和专家选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏举报微信扫一扫
点击复制链接分享
编辑预览轻敲空格完成输入- 显示为
- 卡片
- 标题
- 链接
评论按下Enter换行,Ctrl+Enter发表内容
编辑
预览

轻敲空格完成输入
- 显示为
- 卡片
- 标题
- 链接
报告相同问题?
提交
- 2015-06-17 12:07回答 2 已采纳 Solved. Here's the configuration that works for me: server { listen 80; server_name exam
- 2017-05-09 13:10回答 1 已采纳 It seems like it didn't like that I put * as index and type. So to either remove them, or change t
- 2015-06-03 08:29回答 1 已采纳 I given negative index in the view.php to the SQL and it was failed it, but I sloved it.
- 2023-08-10 09:18戒烟的不耳的博客 配置php vim /usr/local/etc/php/php.ini # PHP版本信息在HTTP头中的泄露 expose_php = Off # 每个脚本运行的最长时间 max_execution_time = 60 # PHP最大上传文件大小限制 upload_max_filesize = 50M # POST数据...
- 2018-08-20 07:48回答 3 已采纳 From everything I read here, including your comments it seems your "production" server is behind a
- 2014-08-26 05:11回答 1 已采纳 The problem turned out to be that I had put directives from the http_mp4_module in the location /
- 2018-06-11 09:10回答 1 已采纳 EDIT: in these other topics: Request Entity Too Large https://serverfault.com/questions/709646/
- 2021-03-24 02:16陈小惜的博客 http://yazku.blog.163.com/blog/static/1235562552009723313538/在 Debian 上搭建 PHP 环境其实很简单。用几个命令就行。更新 aptapt-get update升级软件apt-get upgrade安装 阿帕奇apt-get install apache2安装 ...
- 2019-03-14 07:06回答 1 已采纳 The problem was in Pragma: no-cache header. Solution was to use session_cache_limiter('private') b
- 2013-10-02 15:09回答 2 已采纳 Finally after many hours of trial and errors I found the solution! It was the line MaxRequest
- 2014-06-04 14:05回答 1 已采纳 Figured out the answer, this was caused by https://bugs.php.net/bug.php?id=67060 The fix was to a
- 2024-02-26 16:13解决方案:编辑配置文件 `/etc/php/7.3/fpm/pool.d/www.conf`,调整以下参数: - `pm.max_children = 30` // 最大子进程数(默认是5个) - `pm.start_servers = 10` // php-fpm 启动初始进程数 - `pm.min_spare_...
- 2024-04-06 07:39挪不动的博客 使用 url 路径的方式使用 http://IP:PORT/nextcloud/ 的配置内容(使用这种安装的会在nextcloud页面安装完成后自动转到没有 url 地址的网址,进而导致无法打开,此时手工加上 url 地址就可以)php:使用系统源中的包...
- 2021-03-26 03:08空桑寂的博客 最近在使用redis,刚开始学习,一点一点慢慢积累,根据需求打算最终替换我的mysql库中的一个表,关于redis的介绍google之,下面先开始安装吧,使用系统为debian6。下载最新的稳定版rediswget ...
- 2021-04-08 00:25帅露露的博客 Nginx 和 PHP-FPM 在 Debian 的官方源中都有,但都不是最新版本。截止本文更新(2021.2.17),Debian 10 官方源中的 Nginx 版本号为 1.14.2(Debian 9 官方源为 1.10.3),PHP 版本号为 7.3。使用旧的版本当然是不会有...
- 没有解决我的问题, 去提问
联系我们(工作时间:8:30-22:00)
400-660-0108kefu@csdn.net在线客服
- 京ICP备19004658号
- 经营性网站备案信息
公安备案号11010502030143
- 营业执照
- 北京互联网违法和不良信息举报中心
- 家长监护
- 中国互联网举报中心
- 网络110报警服务
- Chrome商店下载
- 账号管理规范
- 版权与免责声明
- 版权申诉
- 出版物许可证
- ©1999-2025北京创新乐知网络技术有限公司