To check the PHP version of your website with Zuriey Web Service (ZWS), navigate to the Websites section and click on Manage next to the relevant website. Then, find PHP Info on the sidebar and click on it:

Checking the Current PHP Version of a Website

Your current PHP version will be displayed at the top. To change it, go to the PHP configuration settings ????

In the File Manager

You can apply a different PHP version to a specific folder or subdomain.

To verify the change:

  1. Access the folder you want to test.

  2. Create a new .php file (e.g., phpinfo.php).

  3. Add the following code to the file:

php
<?php
// Show all information, defaults to INFO_ALL
phpinfo();
?>

The file will look like this:

Checking the Current PHP Version of a Folder

After this, access the file via the URL: type your domain name, then the folder name, and add the filename. For the file above, the path would be:

https://domain.tld/subdomain/phpinfo.php

The PHP version should be displayed at the top.

Important Note

Changing the PHP version using files is not recommended, as it doesn't include PHP extensions and options. This might affect the website's functionality ????

Je li Vam ovaj odgovor pomogao? 0 Korisnici koji smatraju članak korisnim (0 Glasovi)