How to check PHP version and configuration

  • Knowing your PHP version is essential for script compatibility on Hostaday servers .
    • Method 1 (cPanel): Log in to your cPanel, and under the Software section, click on Select PHP Version. Your current version will be displayed at the top .
    • Method 2 (phpinfo): Create a file named info.php in your public_html directory with the code <?php phpinfo(); ?>. Accessing this file via your browser (yourdomain.com/info.php) will show a detailed report of all active PHP settings and modules.
Was this answer helpful?

Related Articles

How to change PHP version and update PHP extensions on Shared servers

Hostaday Shared Hosting allows you to switch between multiple PHP versions easily. Navigate to...

PHP modules, limits and extensions on shared hosting servers

To ensure server stability, Hostaday sets standard limits for PHP processes . Standard Limits:...

LSPHP directive for php.ini on shared servers

Hostaday uses the LiteSpeed Web Server, which utilizes LSPHP (LiteSpeed PHP) for superior...

How to edit php.ini on Shared servers

Editing your PHP configuration allows you to customize how your website processes data . Log...