Hello, I'm trying to install Joomla on FreeBSD 12.1, but when I copy my server's IP on my client's browser, it shows the content of that file, but not Joomla's page, how can I fix it?
As you can see in the next code, it shows me the content of index.php but not Joomla's page.
I hope someone helps me, please.
Thank you.
index.php
As you can see in the next code, it shows me the content of index.php but not Joomla's page.
I hope someone helps me, please.
Thank you.
index.php
Code:
<?php
/**
* @package Joomla.Installation
*
* @copyright Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
/**
* Define the application's minimum supported PHP version as a constant so it can be referenced within the application.
*/
define('JOOMLA_MINIMUM_PHP', '5.3.10');
if (version_compare(PHP_VERSION, JOOMLA_MINIMUM_PHP, '<'))
{
die('Your host needs to use PHP ' . JOOMLA_MINIMUM_PHP . ' or higher to run this version of Joomla!');
}
/**
* Constant that is checked in included files to prevent direct access.
* define() is used in the installation folder rather than "const" to not error for PHP 5.2 and lower
*/
define('_JEXEC', 1);
// Bootstrap the application
require_once __DIR__ . '/application/bootstrap.php';
// Get the application
$app = JApplicationWeb::getInstance('InstallationApplicationWeb');
// Execute the application
$app->execute();