简体   繁体   English

我的php.ini有什么问题?

[英]What's wrong with my php.ini?

i'd like to know whats wring with my php.ini because I cant attach any file more than 200kb. 我想知道php.ini有什么问题,因为我不能附加超过200kb的文件。 I've already modified the upload_max_filesize and my post_max_size but still nothing happens. 我已经修改了upload_max_filesizepost_max_size但仍然没有任何反应。 I'm using xampp, localhost and php mail() function. 我正在使用xampp,localhost和php mail()函数。 Every comment will be much very appreciated. 每个评论将非常感谢。 thank you 谢谢

; Maximum allowed size for uploaded files.
; http://php.net/upload-max-filesize

upload_max_filesize = 20M

; Maximum number of files that can be uploaded via a single request
max_file_uploads = 20


; Maximum size of POST data that PHP will accept.
; Its value may be 0 to disable the limit. It is ignored if POST data reading
; is disabled through enable_post_data_reading.
; http://php.net/post-max-size
post_max_size = 40M

Many time upload_max_filesize didn't work on windows (xampp and wamp) . 很多时候,upload_max_filesize在Windows(xampp和wamp)上不起作用。 I recommend to switch to LAMP Or if you have to upload database you can use MYSQL workbench on windows system . 我建议切换到LAMP,或者如果必须上载数据库,则可以在Windows系统上使用MYSQL工作台。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM