Macapache is slow

Source: Internet
Author: User
For help, my local apache is slow to view the error log, and there is no problem. You still need to check what else, use the command line to run the php script quickly through the apache parsing page, but it is slow. error_log contains only this [ThuJul2516: 03: 342013] [notice] SIGHUPreceived. attemptin... for help, my local apache is slow

Check the error log,

What else do you need to see,

Run the php script quickly using the command line

Apache parsing through pages is slow

Only this in error_log

[Thu Jul 25 16:03:34 2013] [notice] SIGHUP received. Attempting to restart

[Thu Jul 25 16:03:34 2013] [notice] Apache/2.2.17 (Unix) PHP/5.3.6 configured -- resuming normal operations

Reply content:

For help, my local apache is slow

Check the error log,

What else do you need to see,

Run the php script quickly using the command line

Apache parsing through pages is slow

Only this in error_log

[Thu Jul 25 16:03:34 2013] [notice] SIGHUP received. Attempting to restart

[Thu Jul 25 16:03:34 2013] [notice] Apache/2.2.17 (Unix) PHP/5.3.6 configured -- resuming normal operations

  1. How to judge slow? Is the response time five minutes or five seconds? You cannot discuss it with a perceptual knowledge.
  2. What is the PHP error report level? There is no PHP error in your error_log. Check several error-related configurations in php. ini.
  3. Using the command line to run the php script is very fast, but apache parsing through the page is very slow. This comparison is not scientific. Even if you use the same code for testing, the performance of the command line and apache mod methods is also different. If you use a small enough measurement unit, apache mod php will also be "slow ".

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.