Check PHP Version and Settings

Wondering what is the configuration of PHP in your webhosting provider? There is a way to check the installed. All you need to do is create a PHP file using the code:

You will be needing an FTP client to upload the PHP file into your webspace. If you are using cPanel, you may use File Manager to upload since it is only a small file. Open the file in a browser i.e. Once you have successfully ran file it will display like the image below.

If your webhosting provider enables you connect through secure shell (SSH), you can use this command to check on the PHP version in the server: php -v

No comments:

Post a Comment