search
Homephp教程php手册修改phpmyadmin导入文件大小方法

修改phpmyadmin导入文件大小方法

Jun 13, 2016 am 10:09 AM
phpmyadminReviseuseDiscoversizeimportushintdocumentmethodhour

如果我们利用phpmyadmin 导入文件时发现提示文件太大导入不成功,后来百度才知道我们可修改php.ini中的几个参数来修改phpmyadmin导入文件大小,有碰到此问题的朋友可参考。

具体方法


修改php上传文件大小的几个配置参数

upload_max_filesize
memory_limit
post_max_size

php配置文件(默认php.ini)里面以上这三项的值都要改大

找到upload_max_filesize, memory_limit 和 post_max_size这3个参数

upload_max_filesize,上传文件大小

memory_limit 设置内存

post_max_size 提交数据的最大值

将其修改成你想要的数据。例如这里我将其修改成了300M,修改完成后,保存退出,然后重洗启动:

sudo /etc/init.d/apache2 restart

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.