What is PHP X-Ray?

PHP X-Ray is a diagnostic tool. It automatically detects and provides detailed information about the cause of performance issues of your websites. Users can get detailed insights on which URLs, plugins, or SQL queries are slowing down their website.

The creators of CloudLinux and AlmaLinux develop PHP X-Ray. The same team is also the creator of Imunify360, ImunifyAV, KernelCare, and CageFS.


Benefits of PHP X-Ray


PHP X-Ray offers a massive advantage by automating the detection of performance issues. It saves you time to diagnose the problems manually or the expense of hiring a web developer.

Without X-Ray, users would need to spend valuable time or hire a system administrator/web developer to inspect website logs and tweak plugins, themes, or core configuration to discover the reasons that slow down a website.

When you notice your website is slow, you can enable X-Ray to identify the items slowing down your site. It can automatically track and detect the following issues of your websites:

  • Slow URLs

  • Slow Plugins

  • Slow Database Queries

  • Slow Functions

  • Slow External Calls

Note that enabling PHP X-Ray will degrade performance by 15-20%. That is, your websites will perform 15-20% slower when it is enabled.

Once the diagnostic is complete, you would want to disable PHP X-Ray again.


Does PHP X-Ray improve performance


PHP X-Ray does not directly improve performance. It helps improve performance by detecting the items that slow down a website. Users can then work on the issues it finds to improve performance.


How to use PHP X-Ray


Please refer to this article to use PHP X-Ray.

  • 214 Users Found This Useful
Was this answer helpful?

Related Articles

What happens if I exceed my allocated bandwidth?

Shared, Reseller, and Semi Dedicated Hosting: We currently do not impose any limit on bandwidth....

How to use PHP X-Ray?

You can use PHP X-Ray to identify which URLs, plugins, themes, functions, or SQL queries are...

How to host an additional website?

Depending on the limits of your hosting plan, you can host up to an unlimited number of domains...

How to view resource usage?

You can view your hosting account's current and past resource usage statistics from your hosting...