- 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.phpin yourpublic_htmldirectory 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.