How to increase memory size for phpmyadmin

前端 未结 7 1707
谎友^
谎友^ 2021-01-02 11:00

I am facing some problem when I am trying to import magento database on localhost. It just import 18 table but in actual it contain 383 approx table. It gives error given be

7条回答
  •  天命终不由人
    2021-01-02 11:12

    You can change php.ini as other answers have mentioned. It can be ok on you localhost. But on webserver with more virtualhost you probably don't want to increase memory limit for all hosts (that's what directive in php.ini does).

    To increse memory limit only for given virtualhost edit virtualhost settings. For example:

    
       #your virtualhost settings
       php_value memory_limit 64M #place any number you need
    
    

    Or, you can place the same php_value into your .htaccess file, but your virtualhost must allow to change this values.

提交回复
热议问题