无法在WAMP中的phpmyadmin中增加文件上传大小和执行时间

问题描述:

I am using Wampserver (64 bits & PHP 5.5) 2.5. phpmyadmin inside of it is allowing me to import database of max 128mib and execution time is low. I have red all possible tutorials. I have changed php.ini ( both the one that I found from wamp icon and the one located in php folder ), but changes are not reflected to phpmyadmin. I have put upload_max size to 512M and all other stuff, plus I have set max_execution_time and other stuff to unlimited. It seems that changes from php.ini are not reflected to phpmyadmin. What the hell is going on? Yes I have restarted wamp, even PC too...

I am using windows 7 64 bit

我正在使用Wampserver(64位和PHP 5.5)2.5。 phpmyadmin里面允许我导入max 128mib的数据库,执行时间很短。 我有红色所有可能的教程。 我已经更改了php.ini(我从wamp图标和php文件夹中找到的那个),但更改没有反映到phpmyadmin。 我已将upload_max大小设置为512M以及所有其他内容,而且我已将 max_execution_time code>和其他内容设置为无限制。 似乎从php.ini的更改没有反映到phpmyadmin。 这到底是怎么回事? 是的我已经重新启动了wamp,甚至是PC ... p>

我正在使用Windows 7 64位 p> div>

In WAMPServer 2.5 the PHP limits applied to phpMyAdmin can be found in this file \wamp\alias\phpmyadmin.conf

It was done this way so that you do not have to mess with php.ini to increase these parameter which of course would effect every site that you may be developing/maintaining.

This is what the file looks like:

# to give access to phpmyadmin from outside 
# replace the lines
#
# Require local
#
# by
#
# Require all granted
#

<Directory "d:/wamp/apps/phpmyadmin4.1.14/">
   Options Indexes FollowSymLinks MultiViews
   AllowOverride all
  <IfDefine APACHE24>
    Require local
  </IfDefine>
  <IfDefine !APACHE24>
    Order Deny,Allow
      Deny from all
      Allow from localhost ::1 127.0.0.1
    </IfDefine>
  php_admin_value upload_max_filesize 128M
  php_admin_value post_max_size 128M
  php_admin_value max_execution_time 360
  php_admin_value max_input_time 360
</Directory>

So if you want to increase these parameters mentioned at the bottom of the file, do it in this file and it will only effect phpMyAdmin and nothing else.