Running PHP scripts on stuweb.cms.gre.ac.uk

What version of PHP is currently running on stuweb.cms.gre.ac.uk?

You can see all the information required about PHP on stuweb.cms.gre.ac.uk by going to http://stuweb.cms.gre.ac.uk/test/info.php, which will also display any enabled extensions.

stuweb.cms.gre.ac.uk currently supports PHP version 7.2.10.

PHP files can be placed anywhere under the your ~/public_html directory in your Unix home area.

  • PHP Scripts should start with <?php and end with ?>
  • Lines should end with a ‘;’ (semi-colon without the quotation marks) unless they are part of a loop, or are a ‘{‘ or a ‘}’ (left curly bracket or right curly bracket without the quotation marks).
  • Lines starting with ‘//’ (without the quotation marks) are comments
  • For details on setting permissions of uploaded files see here.

Comments are closed.