Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have the memory limit set to 128M in php.ini and all I try to do is just upload a Excel 2007 sheet of size 130KB, which contains only 100 rows. The error message in apache log reads:

[Mon May 09 11:09:00 2011] [error] [client 192.168.1.71] PHP Fatal error:  Allowed memory size of 268435456 bytes exhausted (tried to allocate 32 bytes) in /usr/share/phpmyadmin/libraries/PHPExcel/PHPExcel/Cell.php on line 155, referer: http://192.168.1.228/phpmyadmin/tbl_import.php?db=ddms&table=DRUG_STANDARD&token=5cafbefd7afc55b4c627e71ef8625b41
share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

I personally never tried to import from Excel, just a suggestion,why don't you first try to export to CVS first then import it to MySQL

share|improve this answer
    
Thanks for the great tip. Export to CVS and then it imports with no problem. –  Tong Wang May 9 '11 at 4:36
    
Sorry, I can't vote up your answer because I don't have enough reputation now. But will do in the future when I can. –  Tong Wang May 9 '11 at 4:38
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.