简体   繁体   中英

edited my php.ini, but still the phpmyadmin wont increase file size upload

I am trying to increase my upload filesize limit to import an sql file into phpmyadmin.

I have checked the phpinfo and ensured I am modifying the correct php.ini file and adjusted these settings on it:

memory_limit = 200M
post_max_size = 200M    
upload_max_filesize = 150M

Have restarted Mamp several times, but still no affect made the file size limit on phpmyadmin.

This is a local build, so no shared hosting to worry about.

By the way I am using MAMP Pro, think that maybe causing a conflict

Thanks a lot for any suggestions

I'm not sure if this is the case in your php.ini file, but don't forget the semicolon. If that doesn't work try this link http://phptale.com/how-to-increase-php-memory-limit/

memory_limit = 128M ;

To adjust the php.ini file in Mamp Pro, you need to open it through the menu system in the application itself, not through the file directory.

File -> Edit Template -> PHP -> php 5.5.10 php.ini

Thanks for all your help

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM