my website needs 8.1 what php8 version was used
We’re going to deploy PHP 8.1 when all missing extensions are being sorted out. In the meanwhile, your account may or may not have it; you can check by yourself by doing what I explained on some guy that needed to know the PHP version on his hosting account server here:
You can create a phpinfo.php file on your domain’s htdocs folder with this content:
<?=phpinfo()?>
and when you visit it through your browser it should show the PHP version and all the extensions enabled on that PHP version and the technical info as well.
i did that but it gave me an 500 error
Can you enable display_errors to see what’s the problem? Here’s an article:
When trying to access your website, you may see a page which returns the status code “500”. In Google Chrome, you’ll see a page with the error code HTTP ERROR 500.
There are typically two reasons which can cause this error:
The PHP code has crashed.
The .htaccess file contains invalid rules.
Here are some things you can try to debug and fix this.
Fixing crashing PHP code
A HTTP ERROR 500 simply tells you that the PHP code has crashed, but gives no information as to why it has crashed.
Gett…
Also what GR9 (don’t want to tag him) posted below me.
You can also try the longer version of the code:
<?php echo phpinfo(); ?>
Also, make sure the file ends in “.php”, and contains no additional characters.