University Systems help centre

Changing PHP and Python Versions

Both the PHP and Python versions running in webspace directories can be changed by adding the lines below to an .htaccess file in the directories who's PHP and/or Python version you wish to change:

SetEnv UVPYTHON_VERSION 38

SetENV UVPHP_VERSION 73

These commands will change the PHP and Python versions to the versions you specify, as denoted by ## variables in the example below.

 screenshot of a notepad txt file with the PHP and Python version info entered