Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 1.02 KB

File metadata and controls

42 lines (30 loc) · 1.02 KB
title v20.08.00 > Additional WebSockets Support
category System Administrator > Installation Version Notes
redirect_from
/system_admin/version_notes/v20.08.00
/sysadmin/version_notes/v20.08.00

To support the expanded use of Websockets for additional dynamic pages within the Submitty website, we must remove a restriction on a specific php function.

Version v20.08.00 requires the following edits:

  1. Locate your php.ini file.

    It is probably something like /etc/php/8.1/fpm/php.ini.

    Note: You can run this command to print your specific version of php:

    php -r 'print PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION."\n";'
    
  2. Edit this file:
    Remove stream_socket_client from the list of disabled_functions.
    Save the file.

  3. Restart php fpm:

    sudo systemctl restart php8.1-fpm
    

    Or more generally:

    sudo systemctl restart php$(php -r 'print PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')-fpm