Changes to PHP
The previous web server used
PHP 5.3.3, the new web server currently uses
PHP 8.1. This is a major jump and your PHP code may require changes to keep working.

Log in to web-login.inf.ethz.ch via ssh to run any of the commands below.
Static Code Analysis
You can perform a static code analysis of all PHP code in your
~/public_html
directly by running the following command:
The report will report all compatibility issues and suggest a fix. Some can be automatically fixed. To do so tun
once. Afterwards running
migrate_check_php
again will only report issues that require manual correction.
Error Log
Errors that occur when testing your PHP pages are written to
/logs/error_log
. This file is readable by all users. Use
to watch out for errors as you test your PHP code.