Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 20/01/2019, à 00:55

Wirax

Installation de MediaWiki sur un serveur Ubuntu 16.04

Bonsoir,
Je souhaite ouvrir un wiki hébergé sur mon serveur VPS à l'aide de MediaWiki, je suis donc la procédure indiquée sur le site officiel (Lien de la page d'instructions), et, quand je me connecte sur la page index.php de mon site, il m'affiche seulement ça :

<?php
/**
 * This is the main web entry point for MediaWiki.
 *
 * If you are reading this in your web browser, your server is probably
 * not configured correctly to run PHP applications!
 *
 * See the README, INSTALL, and UPGRADE files for basic setup instructions
 * and pointers to the online documentation.
 *
 * https://www.mediawiki.org/wiki/Special:MyLanguage/MediaWiki
 *
 * ----------
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 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 General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along
 * with this program; if not, write to the Free Software Foundation, Inc.,
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 * http://www.gnu.org/copyleft/gpl.html
 *
 * @file
 */

// Bail on old versions of PHP, or if composer has not been run yet to install
// dependencies. Using dirname( __FILE__ ) here because __DIR__ is PHP5.3+.
// phpcs:ignore MediaWiki.Usage.DirUsage.FunctionFound
require_once dirname( __FILE__ ) . '/includes/PHPVersionCheck.php';
wfEntryPointCheck( 'index.php' );

require __DIR__ . '/includes/WebStart.php';

$mediaWiki = new MediaWiki();
$mediaWiki->run();

Si quelqu'un pouvait m'aider, ce serait super cool, car là je cherche depuis longtemps mais je ne trouve rien nulle part.
Merci à tous.

Hors ligne

#2 Le 20/01/2019, à 03:01

Compte supprimé

Re : Installation de MediaWiki sur un serveur Ubuntu 16.04

tu n'a pas de version php installer ou alors le mods n'est pas activé, ou il y a un problème  il faudrait plus d'information quel serveur web utilise tu (apache2, nginx, lamp)

#3 Le 20/01/2019, à 12:20

Wirax

Re : Installation de MediaWiki sur un serveur Ubuntu 16.04

Alors...
J'ai bien apache2 d'installé sur mon serveur, et j'ai bien php d'installé (tout via les paquets apt, si c'est important on ne sait jamais).

Hors ligne

#4 Le 20/01/2019, à 14:28

krodelabestiole

Hors ligne

#5 Le 20/01/2019, à 14:34

Wirax

Re : Installation de MediaWiki sur un serveur Ubuntu 16.04

Voilà le retour de logs :

php/xenial-updates,now 1:7.0+35ubuntu6.1 all  [installé]
php-apcu/xenial,now 5.1.3+4.0.10-1build1 amd64  [installé]
php-common/xenial-updates,now 1:35ubuntu6.1 all  [installé, automatique]
php-intl/xenial-updates,now 1:7.0+35ubuntu6.1 all  [installé]
php-xml/xenial-updates,now 1:7.0+35ubuntu6.1 all  [installé]
php7.0/xenial-updates,xenial-security,now 7.0.32-0ubuntu0.16.04.1 all  [installé]
php7.0-cli/xenial-updates,xenial-security,now 7.0.32-0ubuntu0.16.04.1 amd64  [installé, automatique]
php7.0-common/xenial-updates,xenial-security,now 7.0.32-0ubuntu0.16.04.1 amd64  [installé, automatique]
php7.0-fpm/xenial-updates,xenial-security,now 7.0.32-0ubuntu0.16.04.1 amd64  [installé, automatique]
php7.0-intl/xenial-updates,xenial-security,now 7.0.32-0ubuntu0.16.04.1 amd64  [installé, automatique]
php7.0-json/xenial-updates,xenial-security,now 7.0.32-0ubuntu0.16.04.1 amd64  [installé, automatique]
php7.0-mbstring/xenial-updates,xenial-security,now 7.0.32-0ubuntu0.16.04.1 amd64  [installé]
php7.0-opcache/xenial-updates,xenial-security,now 7.0.32-0ubuntu0.16.04.1 amd64  [installé, automatique]
php7.0-readline/xenial-updates,xenial-security,now 7.0.32-0ubuntu0.16.04.1 amd64  [installé, automatique]
php7.0-xml/xenial-updates,xenial-security,now 7.0.32-0ubuntu0.16.04.1 amd64  [installé, automatique]

Pour moi il n'y a que la version 7.0 d'installée avec ce retour, après je peux très bien me tromper.
Merci quand même de votre aide ^^'

Hors ligne

#6 Le 20/01/2019, à 14:37

Wirax

Re : Installation de MediaWiki sur un serveur Ubuntu 16.04

Je viens de check juste le paragraphe qu'il y a au dessus, ça a solutionné le problème
Merci et bonne journée ^^'

Dernière modification par Wirax (Le 20/01/2019, à 15:41)

Hors ligne