PHP performance

前端 未结 13 2086
庸人自扰
庸人自扰 2020-12-28 19:03

What can I do to increase the performance/speed of my PHP scripts without installing software on my servers?

13条回答
  •  时光说笑
    2020-12-28 19:50

    Follow some of the other advice first like profiling and making good resource allocation decisions, e.g. caching.

    Also, take into account the performance of outside resources like your database. In MySQL you can check the slow query log for example. In addition make sure you didn't design your database an forget about it. Optimizing your queries (again for MySQL) against real data can pay of big.

提交回复
热议问题