Do these 3 things before closing this tab:
1Scan for outdated or missing drivers - takes under a minute2Clear out junk files and repair common Windows errors3Fix the driver behind crashes, sound loss and screen glitchesThe reliable test is an HTTP request to a temporary phpinfo() page served by the exact virtual host you want to diagnose. Read its Server API value, then confirm the result in Apache’s loaded modules and virtual-host directives. The command php -v describes the command-line SAPI, so it can show a different PHP version and configuration from the website.
Need a server to try this on? Antihost offers Linux VPS plans with NVMe storage, full root access and a 14-day free trial.
Why php -v may not describe your website
A LAMP server can have separate PHP runtimes for the shell and for HTTP requests. The shell may invoke a CLI binary installed in one location, while Apache sends web requests to embedded PHP, PHP-FPM through FastCGI, or another CGI/FastCGI implementation. Those SAPIs can use different PHP versions, extension sets, and php.ini files.
As an Amazon Associate I earn from qualifying purchases.
For that reason, the web response is authoritative for the site being tested. Run php -v and php --ini as a comparison, not as proof of which handler Apache is using.
Use a temporary diagnostic page
Create the file in the document root of the virtual host under test. A filename such as handler-check.php is sufficient. Its contents should expose the general, configuration, and module sections:
#1 Best Overall
- BLUE LIGHT BLOCKING GLASSES: Our blue light glasses for women boast UV400 protection, blocking harmful blue rays from computer screens. With these bluelight glasses women, you can enjoy gaming, reading, or watching TV with no worries of eye strain.
- EYE RELIEF: Our blue light glasses are engineered to reduce blurry vision or strain caused by prolonged screen time. These womens blue light glasses aid in better sleep by preventing blue light from disrupting your natural sleep cycle, helping you fall asleep faster and enjoy a more restful night's sleep, making them the perfect christmas present.
- COMFORTABLE: Crafted from durable material, our trendy blue light glasses for woman or blue light glasses men ensure long-lasting comfort. The high-transmittance lenses accessories, gamer gifts for men, help keep your eyes relaxed. Perfect stocking stuffers, gifts for gamers men, christmas gifts for men, halloween costumes.
- LIGHTWEIGHT: These clear blue light glasses feature a lightweight frame, meaning they’ll stay comfy for long-term wear. Perfect as blue blockers glasses for women or mens blue light glasses, these non-prescription fake glasses for men can be worn throughout the day. The blue light blocking glasses women feature polycarbonate HD lenses, which are anti-reflective and restore true color.
- WORRY-FREE PURCHASE: If you experience any issues, our support team is ready to assist you quickly. These are the perfect costume glasses for cosplay dressing up.
<?php
phpinfo(INFO_GENERAL | INFO_CONFIGURATION | INFO_MODULES);
?>
Request the file through the same hostname, HTTPS listener, virtual host, and URL path used by the application. For example, if the application is reached over HTTPS on a named host, do not test the server by its IP address over plain HTTP; that could select a different virtual host and a different PHP route.
Record these fields from the response:
- Server API
- PHP Version
- Loaded Configuration File
- Scan this dir for additional .ini files
- Additional .ini files parsed
- the web-server information shown by
phpinfo()
The PHP manual describes phpinfo() as output that reports PHP configuration, compilation options, extensions, version, server information, environment, and configuration paths. That makes it useful for identifying the runtime that actually handled the browser request.
PC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11Outdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchRead the Server API field first
Server API is the quickest first classification. It does not replace an Apache configuration check, but it tells you which path to investigate.
Value shown by phpinfo() |
What it usually means | What to verify next |
|---|---|---|
Apache 2.0 Handler |
PHP is embedded in Apache through a PHP module, commonly called mod_php. | Apache’s module list should contain a PHP module. Inspect the loaded PHP shared object and the directive that assigns PHP files to it. |
FPM/FastCGI |
The request reached PHP-FPM over FastCGI. | Confirm proxy_fcgi_module, find the virtual-host proxy or handler rule, and match its socket or TCP endpoint to a running FPM pool. |
CGI/FastCGI |
The request used a CGI or FastCGI path, but this label alone does not prove that PHP-FPM is involved. | Look for CGI or fcgid modules and for AddHandler, SetHandler, or related dispatch rules. |
Labels are clues rather than configuration dumps. A complete answer comes from matching the HTTP result to Apache’s modules, virtual-host rules, and, where applicable, the FPM pool endpoint.
Confirm the handler in Apache
List loaded modules
Run the module-list command provided by your distribution:
apachectl -M
On systems that use the Debian-style command name, use:
Recommended Free Tools
Rank #2
- WINDEX GAMING WIPES: effortlessly clean all your gaming gear and gaming electronics in one easy step with our new Windex Gaming Wipes
- AMMONIA FREE: our ammonia-free formula is safe to use on all of your favorite gaming equipment like consoles, headsets, controllers, screens, keyboards, and more
- PRE-MOISTENED WIPES: each wipe instantly removes dust, dirt, and stubborn smudges and fingerprints leaving a streak-free shine
- ANTI-STATIC: great for cleaning and wiping down your gaming gear and electronics leaving behind no visible residue
- COMPACT RESEALABLE PACKAGE: store your pack of Windex Gaming Wipes anywhere in your home for whenever a quick and easy wipedown is needed
apache2ctl -M
Inspect the output for the component that corresponds to the Server API result:
- A loaded PHP module supports the embedded mod_php interpretation.
proxy_fcgi_modulesupports Apache proxying a request to a FastCGI backend such as PHP-FPM.cgi_moduleorcgid_moduleindicates Apache’s CGI facilities. An fcgid deployment has its own fcgid rules and process handling.
The module list proves what Apache has loaded globally. It does not, by itself, prove that every virtual host uses the same handler, so continue with the active virtual host and its included configuration files.
Find the dispatch rule for PHP files
In the active virtual host and the configuration files it includes, inspect directives that decide where a .php request goes:
AddHandlerSetHandler<FilesMatch>blocksProxyPassMatch
For PHP-FPM, Apache examples route matching PHP requests to a Unix socket or a TCP endpoint. A ProxyPassMatch rule or a SetHandler arrangement may contain that destination. Record the exact socket path or host-and-port value; it is needed for the FPM check.
Free tools Windows power users keep installed
One-click scans. No signup required.
For embedded PHP, the PHP module and its handler directive are the relevant evidence. For CGI or fcgid, the handler assignment and the corresponding CGI module or fcgid configuration show which executable path Apache invokes.
Verify PHP-FPM when FastCGI is reported
PHP-FPM is PHP’s FastCGI Process Manager. If the diagnostic page reports FPM/FastCGI, verify all three parts of the chain:
Rank #3
- Ergonomic & Adjustable Design: Fight "text neck" and improve your posture. Designed for comfort, it offers an adjustable height (7.1in-8.5in) (1.4in adjustable range) and angle (5°-85°) Please note: cell phone stand is only 9 inches tall—the length of a standard pencil
- Without blocking subtitles Perfect for office desk Tiktok Face Time Zoom video—this is the ultimate kitchen desk essential for phones! Perfect viewing experience while reducing neck back strain, A must-have for gamers streamers desk, and anyone who values both style and support!
- Sleek & Stable Design fits Otterbox Case: Say goodbye to bent cables, tangles, and tip-overs! LISEN’s stylish adjustable desk phone holder features a built-in charging hole and smart cable management, keeping your phone secure and your workspace clutter-free cool gadgets for men
- ANTI-SLIP DESIGN free hands: The under 10.00 items easy gadgets back and the bottom of this kitchen essentials for women are fully covered by anti-skid silicone, which LISEN stand up desk decor can provide maximum protection device from any scratches and slides
- Your Perfect Viewing Companion:If your product arrives damaged or breaks within 365 days, reach out to LISEN for a quick and hassle-free solution. Struggling with assembly, like tightening the screw? We’ve got your back! Your experience matters to us. (Product including: phone Holder stand*1, screw*1, hexagon screwdriver*1, specification*1)
- Apache support: the module list includes
proxy_fcgi_moduleor the equivalent FastCGI proxy support used by the deployment. - Virtual-host target: the PHP dispatch rule sends requests to a Unix socket or TCP endpoint.
- Running pool: the service manager shows a running
php-fpmor versionedphp*-fpmservice, and the pool’slistenvalue exactly matches Apache’s target.
Both sides of the endpoint must agree. A pool listening on one Unix-socket path cannot receive requests that Apache sends to another path, and a pool bound to one TCP port cannot satisfy a rule aimed at a different port. After matching the endpoint, request the same diagnostic URL again; it should continue to report FPM/FastCGI.
If the FPM service is running but the browser shows a different Server API, the request may be selecting another virtual host, another listener, or an embedded/CGI rule that takes precedence. Trace the hostname, protocol, and path used in the browser before changing the pool.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Distinguish CGI, fcgid, and PHP-FPM
CGI/FastCGI is intentionally broader than FPM/FastCGI. It identifies a CGI-compatible request path, not a particular process manager. A site can therefore show a CGI/FastCGI API while Apache uses CGI or fcgid configuration rather than PHP-FPM.
Use the Apache evidence to resolve the ambiguity:
- CGI: look for
cgi_moduleorcgid_moduleand the associatedAddHandlerorSetHandlerrules. - fcgid: inspect fcgid-specific configuration and the handler assignment for PHP files.
- PHP-FPM: find
proxy_fcgi_module, a proxy or handler target, and a running pool whoselistenendpoint matches that target.
Do not label every FastCGI response “FPM” without the matching service and endpoint. The HTTP field establishes the SAPI family; Apache and the service configuration establish which implementation is behind it.
Compare the web runtime with the CLI runtime
To make the difference measurable, add a small runtime summary to the temporary page or use a separate temporary diagnostic file:
<?php
echo 'PHP_VERSION: ' . PHP_VERSION . "n";
echo 'PHP_SAPI: ' . PHP_SAPI . "n";
echo 'php_ini_loaded_file: ' . (php_ini_loaded_file() ?: 'none') . "n";
echo 'php_ini_scanned_files: ' . (php_ini_scanned_files() ?: 'none') . "n";
?>
Compare those values with:
php -v
php --ini
PHP_VERSION and PHP_SAPI identify the version and SAPI handling the HTTP request. php_ini_loaded_file() identifies the main configuration file loaded by that request, while php_ini_scanned_files() lists additional configuration files that were parsed. The CLI commands report the shell’s PHP binary and its configuration instead.
Quick wins for a faster PC:
Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Repair Windows errors before they cause bigger problemsFix Now →Scan for outdated or missing drivers - takes under a minuteDriver Scan →Rank #4
- Easy Installation: Our gaming lights have been designed to enhance your entertainment experience. Simply position the led light bar next to your TV or game console to create a game room environment with ease. They come with USB power and a 60 inch cord for direct mounting and mobility
- Audio Syncing & Extensive Mode: The built-in high-sensitivity music sensor allows you to sync the TV led lights to your favorite music. Lights react and move to the beat of music, film and game audio, creating an incredible immersive sound and light experience – and all without the need for an additional hub. You can choose from 64+ patterns, including strobe, illusion, jump, energy, gradient, running, chasing, fluttering mode etc. Each mode can be applied to different scenes
- 64+ Chasing IC+RGB & W Effect: The independent control design of IC+RGB and white all-in-one multifunctional rgbw led bar lights monitor backlight allows you to easily switch the led lights for desk between IC+RGB and white to enjoy a variety of lighting effects, you can choose white lighting mode with high brightness for better illumination when working, etc. Choose IC+RGB lighting mode when you need to create an entertaining atmosphere for the light show, 16 million colours of Color changing rgb light bar let you dance to the beat and create a dynamic party atmosphere
- Dynamic and Dimmable Lights: 1%-full brightness free brightness adjustment gives you the flexibility to adjust dimmable led light bar for room decorations or a variety of occasions
- USB Powered: USB light bars for room can be powered by powernank, usb charger, TV, Monitor, laptop PC mainframe, making behind TV led lighting bar easy to install in any location.TV led lights are powered by the TV usb interface / PC mainframe, can be turned on/off synchronously with TV / PC
Different values are expected when CLI PHP and web PHP are separate installations or SAPIs. For website behavior, extensions, and configuration, use the values from the HTTP response. Use the CLI values only when diagnosing a command-line script or a scheduled job that actually runs through the shell.
Account for virtual hosts and listeners
“Which handler is Apache using?” can have more than one answer on a single server. Apache may load one set of modules globally while individual virtual hosts dispatch PHP requests differently. A plain-HTTP listener, an HTTPS listener, and a different hostname can also select different virtual-host definitions.
Test each site independently:
- Place the temporary file in that site’s document root.
- Request it with that site’s real hostname.
- Use the same protocol and port as the application, especially HTTPS when the application redirects there.
- Record the Server API, version, configuration-file paths, and web-server information.
- Inspect the selected virtual host and its included files for the matching dispatch directives.
Repeat the process after a handler migration. A server-wide module list can remain unchanged while a particular site’s <FilesMatch>, SetHandler, or ProxyPassMatch rule changes the actual runtime.
How the main handlers differ operationally
| Handler | Runtime model | Apache evidence | Operational characteristics |
|---|---|---|---|
| mod_php | PHP is embedded inside Apache worker processes. | A PHP module is loaded; Server API normally reads Apache 2.0 Handler. |
Unless PHP is built thread-safe, this model requires Apache’s prefork MPM. PHP code shares Apache workers rather than running in a separate FPM pool. |
PHP-FPM via mod_proxy_fcgi |
Apache forwards requests to separate PHP-FPM processes over FastCGI. | proxy_fcgi_module, a socket or TCP target in a proxy/handler rule, and a matching FPM pool; Server API reads FPM/FastCGI. |
FPM provides separate process management, works with Apache’s event MPM, and can isolate sites in separate pools and users when configured that way. |
| CGI or fcgid | Apache dispatches PHP through CGI-compatible machinery rather than an embedded PHP module. | cgi_module, cgid_module, fcgid configuration, and matching handler directives; Server API may read CGI/FastCGI. |
The exact process model and restart boundary depend on the CGI or fcgid configuration, so identify the executable and handler rules before troubleshooting. |
PHP’s Apache guidance recommends PHP-FPM with mod_proxy_fcgi for modern deployments. Its documentation describes that method as preferred for Apache 2.4 and newer. The practical benefit is a separate PHP process manager and compatibility with the event MPM, while mod_php’s embedded model ties PHP to Apache’s worker model and, in common non-thread-safe builds, to prefork.
Use the evidence to diagnose common surprises
The browser shows a different PHP version than php -v
This normally means the CLI and web SAPIs use separate installations or configuration trees. Compare PHP_VERSION, PHP_SAPI, and the two php.ini path functions from the HTTP page with php -v and php --ini. Do not change the CLI binary and expect the website to change; the web request follows Apache’s handler and virtual-host rules.
The page says Apache 2.0 Handler, but FPM is running
A running FPM service does not prove that this virtual host uses it. Check whether Apache has a loaded PHP module and whether the selected virtual host contains a PHP-FPM proxy rule. If a PHP module handles the request, the site is using embedded PHP even though an unused FPM service is available.
Best Value
- Compatible with Wide Screens - To ensure compatibility with the dual monitor mount, your each monitor must meet three conditions at the same time: First, computer screens size range: 13 to 32 inches. Second, screen weight range: 4.4 to 19.8 lbs. Third, the back of the monitor screen must have VESA mounting holes with a pitch of 75x75mm or 100x100mm.
- Regarding the compatibility with desks - Your desk must meet three conditions at the same time: First, desk material: Only wooden desks are recommended, plastic or glass desks cannot be used. Second, desk thickness range: 0.59" - 3.54". Third, the bottom of the desk should not have any cross beams or panels, as this will interfere with installation. We recommend carefully checking that your desk and monitors meets all above conditions before purchasing.
- Dual C-Clamp Hold - Worried your dual monitors might wobble or slip? Our upgraded base uses a larger platform plus a dual C-clamp structure to lock the dual monitor arm firmly to your desk. Each arm safely keeps your screens steady while you type, click and game—no shaking, no sliding, just a clean and secure setup you can trust every day. It also provides Grommet Mounting installation choice, both options ensure stable and secure fixation for your 0.59" - 3.54" desk.
- Full-Motion Adjustment For Comfortable View - Pull the screen closer when you’re deep in a spreadsheet, push it back to watch videos, or rotate to portrait for coding — moving everything smoothly with just one hand. The monitor stand offers +85°/-50° tilt, ±90° swivel and 360° rotation. Raise your monitor up to 15.75″ to support a healthy sitting posture. Whether you’re working from home, gaming through the night, or switching between video calls and documents, getting the screens to your natural line of sight helps relieve neck, shoulder and back strain so you can stay focused longer with less fatigue.
- Keep Your Desk Organized: By lifting both screens off the desktop, this dual monitor stand opens up valuable space for your keyboard, notebook, docking station or a simple, clutter-free work area. Built-in cable management guides wires along the arms, keeping cords out of sight and out of the way. Enjoy a tidy, modern workstation that looks as good as it feels to use.
The page says FPM/FastCGI, but Apache has no obvious pool
Verify that you inspected the active virtual host and all included configuration files, not only global settings. Then compare the proxy target character for character with each running FPM pool’s listen value. A mismatch indicates that the rule and pool are not the pair serving the request; a different virtual host or listener may be involved.
The page says CGI/FastCGI and you need to know whether it is FPM
Use the implementation evidence rather than the label alone. A matching proxy_fcgi_module rule and FPM pool identify PHP-FPM. CGI or fcgid modules and their own handler rules identify a different FastCGI/CGI path.
The diagnostic URL returns the wrong site or fails
Recheck the document root, hostname, protocol, port, and URL path. A file placed in one site’s document root but requested through another hostname can be served by a different virtual host, while a missing file or access rule can produce a 404 or 403 before PHP is invoked. The test is valid only when the request reaches the intended virtual host.
Clean up the diagnostic file
Delete handler-check.php and any second diagnostic file as soon as the investigation is complete. phpinfo() exposes configuration paths, environment details, HTTP headers, loaded extensions, and other information that should not remain publicly reachable. If you need the values again, recreate the file briefly, test through the exact site URL, and remove it immediately afterward.
A concise verification checklist
- Create a temporary
phpinfo(INFO_GENERAL | INFO_CONFIGURATION | INFO_MODULES)page in the target virtual host’s document root. - Request it through the application’s real hostname, protocol, listener, and path.
- Record Server API, PHP version, loaded configuration file, scanned configuration directory, parsed additional files, and web-server information.
- Run
apachectl -Morapache2ctl -M. - Inspect the selected virtual host and included files for
AddHandler,SetHandler,<FilesMatch>, andProxyPassMatch. - If FPM is indicated, match Apache’s Unix-socket or TCP target to a running
php-fpmor versionedphp*-fpmpool’slistenvalue. - Compare the web values with
php -vandphp --inionly to document CLI/web differences. - Delete every diagnostic file immediately.
When the HTTP Server API, Apache dispatch rule, loaded module, and (for FPM) pool endpoint all agree, you have identified the handler serving that virtual host rather than merely identifying a PHP installation present on the server.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




