Ask a master, why the local debugging is normal, in the browser run can not

Source: Internet
Author: User
Tags php and mysql dedicated server
I used Zend 5.5.1.
Wrote a PHP collection program, because the amount of data is very large, in the Zend of the built-in browser run, about 5 minutes after the run will not be collected after completion. But I am in IE browser localhost: .... Run, about 1 minutes to run, it will automatically stop running, nor error, each time it is 1 minutes to stop themselves. Does the browser have a wait time?

How to solve, thank you!!!!


Reply to discussion (solution)

1.ini Long run time (the amount of content to take into account the memory usage)
2. Since the local operation of the collection, I suggest not to use the CLI directly, do not go to the browser, put the internet on the other said

1.ini Long run time (the amount of content to take into account the memory usage)
2. Since the local operation of the collection, I suggest not to use the CLI directly, do not go to the browser, put the internet on the other said

Thanks, is to put on the net, I run in the local is the test.
Brother also encountered a problem, that is, the target page data too much, I use the browser to open the browser almost to get stuck, about 5 seconds to display completely. In PHP when using curl acquisition, this kind of information is not complete data collection, there is missing, what is the best way to solve it? For example, can you make the target page display complete and then fetch the data? Thank you!!

Slow is normal, others do collect, generally have dedicated server
Send the page first, and then Ajax back to collect the data

And what's the point of always using People's data (non-API)?

Slow is normal, others do collect, generally have dedicated server
Send the page first, and then Ajax back to collect the data

And what's the point of always using People's data (non-API)?

Thank you, I gradually let PHP and MySQL print error message, finally found the problem. Curl collects the data is correct, is my database in the code missing part of the data are all incomplete, has been resolved.

  • 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.