简体   繁体   中英

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. I've already modified the upload_max_filesize and my post_max_size but still nothing happens. I'm using xampp, localhost and php mail() function. 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) . I recommend to switch to LAMP Or if you have to upload database you can use MYSQL workbench on windows system .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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