# Troubleshooting

# PHP

Most common errors that happens when installing PlexusLAB are related to a faulty PHP installation.

Your PHP service might be running an old and unsupported version of PHP: PlexusLAB needs at least PHP Version 7.4 to run.

Assuming you already installed Ubuntu, check your PHP version is equal or greater then 7.4, but not 8 or higher (currently unsupported). On your terminal use the command

php --version

You must get a message similar to the following. If you are running an older version of PHP you may need to re-run the installation script, or, in the worst case, please Google how to upgrade it.

PHP 7.4.3 (cli) (built: Oct  6 2020 15:47:56) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.3, Copyright (c), by Zend Technologies

# Apache

If PHP is loaded correctly, but you still can't access the website at http://localhost/plexus, the error might be related to the Apache Service.

Check your Apache System status with the following command

sudo systemctl status apache2

It should have active running status.

apache2.service - The Apache HTTP Server
    Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor prese>
    Active: active (running) since ....

# Find your remote machine's IP

If you don't know your remote machine's IP Address, you can run this command in a remote shell, and then navigate to http://IP_ADDRESS/plexus.

hostname -I

# Find PlexusLAB password and ID

By default, PlexusLAB password and a machine ID are randomly generated.

To retrieve them, run this command on your machine.

sudo php /var/www/html/plexus/system/php_scripts/getpass.php

The output will contain both fields with the following structure

PLEXUS_PASSWORD PLEXUS_LAB_ID
Last Updated: 8/3/2021, 1:02:24 PM