Home / Knowledgebase Home / How to Use the PHP X-Ray Feature in cPanel

// View Comments //

How to Use the PHP X-Ray Feature in cPanel

When a WordPress site or PHP application begins to lag, general resource metrics like CPU and memory usage often don’t tell the whole story. PHP X-Ray is an advanced troubleshooting tool designed to pull back the curtain on your code’s execution. It allows you to trace specific website requests to pinpoint exactly where time is being wasted, whether it’s a bloated plugin, an inefficient database query, or a slow external API call. Available on our Semi-Dedicated and Managed WordPress plans, PHP X-Ray turns guesswork into precise technical analysis.

Note: For the most accurate results, we recommend temporarily disabling any caching plugins (like LiteSpeed Cache or WP Rocket) before running a trace. This ensures you are analyzing the actual PHP execution rather than a pre-generated static file.

Quick Steps

  1. Log in to cPanel and open the X-Ray App.

  2. Click Start Tracing and select your domain and URL mask.

  3. Configure the trace duration and the number of requests to capture.

  4. Click Run, then visit your website to reproduce the slow loading.

  5. Return to cPanel to Refresh and View the captured data.

  6. Analyze the Top Issues section to find the performance bottleneck.


Note:
Temporarily disable caching before tracing to get accurate PHP execution results.

 

Follow the step-by-step instructions below to analyze your site with PHP X-Ray.

 


If you have any web hosting questions please feel free to reach out to us. We're happy to help.

Shared Hosting | Reseller Hosting | Managed WordPress Hosting | Fully Managed VPS Hosting
Our Guiding Principles
Subscribe to comment notifications
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments