douni1396 2015-04-02 09:14
浏览 58


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

  • 写回答

1条回答 默认 最新

  • duanrong5927 2015-04-02 11:22

    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 !APACHE24>
        Order Deny,Allow
          Deny from all
          Allow from localhost ::1
      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

    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.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?



  • ¥15 关于c++外部库文件宏的问题,求解
  • ¥15 office打开卡退(新电脑重装office系统后)
  • ¥300 FLUENT 火箭发动机燃烧EDC仿真
  • ¥15 【Hadoop 问题】Hadoop编译所遇问题hadoop-common: make failed with error code 2
  • ¥15 vb6.0+webbrowser无法加载某个网页求解
  • ¥15 RPA财务机器人采购付款流程
  • ¥15 计算机图形多边形及三次样条曲线绘制
  • ¥15 根据protues画的图用keil写程序
  • ¥200 如何使用postGis实现最短领规划?
  • ¥15 pyinstaller打包错误