How to check what version of PHP you are running |
Prerequisites
Step : 1Create a simple web document (page) in a text editor with the following code :Step : 2Save your web document and call it phpinfo.phpStep : 3Once you have created your PHP web document you will need to upload it to your where your website is hosted. This can be done several ways via the File Manager in Plesk, or FTP. You'll need to upload this to a publicly accessible area, which for Plesk based systems is in the "httpdocs" directory.Step : 4Now need to call the newly created phpinfo.php page from your browser. For example, it may be "http://yourdominaname.com/phpinfo.php". You should see something like the following :Clean UpOnce you have the information you require we strongly urge you to delete phpinfo.php file from your server, as it poses a potential security risk by displaying information about your system. |