Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是谷歌云和 VestaCP 的新手。我需要将一个大型数据库上传到 Vesta 的 phpMyAdmin 端,但最大文件大小限制设置为低。如何访问php.iniVesta 的文件?
php.ini
SSH到您的服务器并转到etc/文件夹sudo nano php.ini然后找到upload_max_filesize = 2M然后将2更改为您想要的值并找到post_max_size = 8M并将其更改为大于您的文件大小,然后按下ctr+x并按下y并使用重新启动httpd服务sudo service httpd restart
sudo nano php.ini
upload_max_filesize = 2M
post_max_size = 8M
ctr+x
y
sudo service httpd restart
注:文件大小以MB为单位