How to remove the limit of csv file size exported by php

Source: Internet
Author: User
How can I remove the limit on the size of csv files exported by php? I use php locally to export data from a database table to a csv file, which can be completely exported, the data size can be more than 800 KB, while I use the same php program to export the same data table on the website. only 8 KB of data can be exported. Try to use ini_set & nbsp; ('memory _ l php to export the csv file size. how can I remove the limit?
I use php locally to export data from a database table to a csv file. the data size can be more than 800 KB.
On the website, I use the same php program to export data tables with the same data, and only 8 K of data can be exported.
Try to use ini_set ('memory _ limit ', '32m'); if it does not work, you can export more than 8 K data tables, and export more than 8 K data tables.
Where can I change it? Share:
------ Solution --------------------
Do you have to have insufficient memory? Not necessarily?
If the memory is insufficient, an error is reported.

Maybe you only have that much data.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.