diff --git a/.htaccess b/.htaccess
index 5642131..fdb01af 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1 +1,6 @@
-LimitRequestBody 10485760
\ No newline at end of file
+# 增加请求体大小限制
+LimitRequestBody 524288000
+
+# 错误处理
+ErrorDocument 500 /error_pages/500.html
+ErrorDocument 404 /error_pages/404.html
\ No newline at end of file
diff --git a/error_pages/404.html b/error_pages/404.html
new file mode 100644
index 0000000..0067d9a
--- /dev/null
+++ b/error_pages/404.html
@@ -0,0 +1,23 @@
+
+
+
+
+
+ 404 - 页面未找到
+
+
+
+
+
+
404
+
页面未找到
+
您请求的页面不存在或已被移动。
+
返回首页
+
+
+
\ No newline at end of file
diff --git a/error_pages/500.html b/error_pages/500.html
new file mode 100644
index 0000000..3294d25
--- /dev/null
+++ b/error_pages/500.html
@@ -0,0 +1,24 @@
+
+
+
+
+
+ 500 - 服务器内部错误
+
+
+
+
+
+
500
+
服务器内部错误
+
服务器遇到意外错误,无法完成您的请求。
+
我们的技术团队已收到通知,正在处理此问题。
+
返回首页
+
+
+
\ No newline at end of file
diff --git a/php.ini b/php.ini
new file mode 100644
index 0000000..2c62cb4
--- /dev/null
+++ b/php.ini
@@ -0,0 +1,24 @@
+; 自定义PHP配置文件 - 用于大型文件上传
+
+[PHP]
+; 上传文件大小限制
+upload_max_filesize = 500M
+; POST数据大小限制
+post_max_size = 500M
+; 脚本最大执行时间(秒)
+max_execution_time = 300
+; 输入数据解析时间限制
+max_input_time = 300
+; 内存限制
+memory_limit = 256M
+
+; 错误日志设置
+log_errors = On
+error_log = "php_errors.log"
+error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
+
+; 文件上传临时目录
+; upload_tmp_dir = "C:\temp\php_uploads"
+
+[Date]
+date.timezone = Asia/Shanghai
\ No newline at end of file