sudo apt install php sudo apt install libapache2-mod-php sudo systemctl restart apache2
Em sexta-feira, 10 de março de 2023 às 10:28:59 UTC-3, Tristan Peltenburg escreveu: > Hi all, > > As stated in the title and I cannot for the life of me figure out how to > get the webui working. > I am running Debian 11. Bareos itself is running fine, and working as > expected. > > However when I install 'bareos-webui' I am only presented with the > following code when I go to http://host/bareos-webui/. I've installed > through official repository. Can anyone point me in a direction? Thanks! > > <?php > /** > * > * bareos-webui - Bareos Web-Frontend > * > * @link https://github.com/bareos/bareos for the canonical source > repository > * @copyright Copyright (c) 2013-2019 Bareos GmbH & Co. KG ( > http://www.bareos.org/) > * @license GNU Affero General Public License ( > http://www.gnu.org/licenses/) > * > * This program is free software: you can redistribute it and/or modify > * it under the terms of the GNU Affero General Public License as > published by > * the Free Software Foundation, either version 3 of the License, or > * (at your option) any later version. > * > * This program is distributed in the hope that it will be useful, > * but WITHOUT ANY WARRANTY; without even the implied warranty of > * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > * GNU Affero General Public License for more details. > * > * You should have received a copy of the GNU Affero General Public License > * along with this program. If not, see <http://www.gnu.org/licenses/>. > * > */ > > if(isset($_SERVER['APPLICATION_ENV']) && $_SERVER['APPLICATION_ENV'] == > 'development') { > error_reporting(E_ALL); > ini_set("display_errors", 1); > define('REQUEST_MICROTIME', microtime(true)); > } > > /** > * This makes our life easier when dealing with paths. Everything is > relative > * to the application root now. > */ > chdir(dirname(__DIR__)); > > // Decline static file requests back to the PHP built-in webserver > if (php_sapi_name() === 'cli-server' && is_file(__DIR__ . > parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH))) { > return false; > } > > // Setup autoloading > require 'init_autoloader.php'; > > // Run the application! > Zend\Mvc\Application::init(require 'config/application.config.php')->run(); > > -- You received this message because you are subscribed to the Google Groups "bareos-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/b9d35983-7f5e-4c72-b996-1818f812cfe7n%40googlegroups.com.