You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2018-02-19 12:28:24

hott1
Guest
Registered: 2018-02-19
Posts: 1

accéder a la page web

Bonjour à tous !
Je souhaite installé glpi sur mon serveur debian jesssie, j'ai bien téléchargé et déplacer le répertoire glpi dans le dossier /var/www mais qaund je mets comme URL
192.168.x.128/glpi j’ai une page bizarre en PHP

. -------------------------------------------------------------------------- */ /** @file * @brief */ // Check PHP version not to have trouble if (version_compare(PHP_VERSION, "5.3.0") < 0) { die("PHP >= 5.3.0 required"); } define('DO_NOT_CHECK_HTTP_REFERER', 1); // If config_db doesn't exist -> start installation define('GLPI_ROOT', dirname(__FILE__)); include (GLPI_ROOT . "/config/based_config.php"); if (!file_exists(GLPI_CONFIG_DIR . "/config_db.php")) { include_once (GLPI_ROOT . "/inc/autoload.function.php"); Html::redirect("install/install.php"); die(); } else { $TRY_OLD_CONFIG_FIRST = true; include (GLPI_ROOT . "/inc/includes.php"); $_SESSION["glpicookietest"] = 'testcookie'; // For compatibility reason if (isset($_GET["noCAS"])) { $_GET["noAUTO"] = $_GET["noCAS"]; } Auth::checkAlternateAuthSystems(true, isset($_GET["redirect"])?$_GET["redirect"]:""); // Send UTF8 Headers header("Content-Type: text/html; charset=UTF-8"); // Start the page echo ''."\n"; echo ''; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''; // Appel CSS echo ''; // surcharge CSS hack for IE echo ""; // echo ""; echo ""; echo ""; echo "
"; echo "
"; echo "
"; echo nl2br(Toolbox::unclean_html_cross_side_scripting_deep($CFG_GLPI['text_login'])); echo "
"; echo "
"; echo "
"; echo ""; // Other CAS if (isset($_GET["noAUTO"])) { echo ""; } // redirect to ticket if (isset($_GET["redirect"])) { Toolbox::manageRedirect($_GET["redirect"]); echo ''; } echo ''.__('Authentication').'
'; echo '
'.__('Login').''; echo ''; echo '
'; echo '
'; echo '
'.__('Password').''; echo ''; echo '
'; echo '
'; echo "
"; echo '
'; echo '

'; echo '

'; if ($CFG_GLPI["use_mailing"] && countElementsInTable('glpi_notifications', "`itemtype`='User' AND `event`='passwordforget' AND `is_active`=1")) { echo '
'. __('Forgotten password?').'
'; } Html::closeForm(); echo ""; echo "
"; // end login box echo "
"; echo ""; if (isset($_GET['error'])) { switch ($_GET['error']) { case 1 : // cookie error _e('You must accept cookies to reach this application'); break; case 2 : // GLPI_SESSION_DIR not writable _e('Checking write permissions for session files'); echo "
".GLPI_SESSION_DIR; break; case 3 : _e('Invalid use of session ID'); break; } } echo "
"; echo "
"; // end contenu login // Display FAQ is enable if ($CFG_GLPI["use_public_faq"]) { echo '
'. '[ '.__('Access to the Frequently Asked Questions').' ]'; echo '
'; } if (GLPI_DEMO_MODE) { echo "
"; Event::getCountLogin(); echo "
"; } echo "
"; echo ""; echo 'GLPI version '.(isset($CFG_GLPI["version"])?$CFG_GLPI["version"]:""). ' Copyright (C) 2003-'.date("Y").' INDEPNET Development Team.'; echo "
"; } // call cron if (!GLPI_DEMO_MODE) { CronTask::callCronForce(); } echo ""; ?>

Offline

#2 2018-03-21 14:16:57

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 14,140

Re: accéder a la page web

Vérifier votre configuration Apache au niveau des <Directory> et des Alias


CentOS 6.5 - CentOS 7
PHP 5.6 - PHP 7 - MySQL 5.6  + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

#3 2018-05-28 21:01:36

dirajmore
Guest
Registered: 2018-05-28
Posts: 2

Re: accéder a la page web

hello,
did you boot up and prepare the Debian server ?GLPI will require Apache2, MySQL, and some PHP additions in order to function properly. The easiest way to get these packages is with the Aptmeta-packager.
# apt-get install apache2 mysql-server-5.5 php5 php5-mysql php5-gd
This command will download and install the necessary packages and start the basic server services. WhileMySQL is installing, it will likely ask to have the MySQL root password set. Set this password but DO NOT forget it as it will be needed soon.
Set MySQL Root Password
Set MySQL Root Password
2. After all of the packages finish installing, it is always a good idea to make sure that the server services are running. This is easily accomplished by evaluating the system to see what services are listening on what ports with the ‘lsof‘ utility.

Offline

Board footer

Powered by FluxBB