Server/MediaWiki: Unterschied zwischen den Versionen

Aus Wiki StuRa HTW Dresden
Zur Navigation springen Zur Suche springen
KKeine Bearbeitungszusammenfassung
Zeile 80: Zeile 80:
: <code>echo '    SetHandler application/x-httpd-php-source' >> /usr/local/etc/apache24/httpd.conf</code>
: <code>echo '    SetHandler application/x-httpd-php-source' >> /usr/local/etc/apache24/httpd.conf</code>
: <code>echo '</FilesMatch>' >> /usr/local/etc/apache24/httpd.conf</code>
: <code>echo '</FilesMatch>' >> /usr/local/etc/apache24/httpd.conf</code>
: <code>pkg install mod_php5</code>
<!--
<pre>
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LC_ALL = "de.UTF-8",
        LANG = "de.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
[activating module `php5' in /usr/local/etc/apache24/httpd.conf]
Message for mod_php5-5.4.35,1:
***************************************************************
Make sure index.php is part of your DirectoryIndex.
You should add the following to your Apache configuration file:
<FilesMatch "\.php$">
    SetHandler application/x-httpd-php
</FilesMatch>
<FilesMatch "\.phps$">
    SetHandler application/x-httpd-php-source
</FilesMatch>
***************************************************************
</pre>
-->


: <code>pkg install mediawiki123</code>
: <code>pkg install mediawiki123</code>

Version vom 17. Dezember 2014, 21:48 Uhr

Achtung

Dieser Artikel ist ein exemplarischer Artikel.

Es handelt sich hierbei nicht um die Instanz MediWiki als Wiki vom StuRa. Dazu dienen die Artikel:

Installation

Randbedingungen

OS
FreeBSD 10.1
Paketverwaltung
freebsd-man:pkgng (statt freebsd-man:make)

tatsächliche Installation

pkg
pkg install mysql55-server
/usr/local/bin/mysql_upgrade
pkg install apache24
echo 'apache24_enable="yes"' >> /etc/rc.conf
pkg install mod_php5
echo '<FilesMatch "\.php$">' >> /usr/local/etc/apache24/httpd.conf
echo ' SetHandler application/x-httpd-php' >> /usr/local/etc/apache24/httpd.conf
echo '</FilesMatch>' >> /usr/local/etc/apache24/httpd.conf
echo '<FilesMatch "\.phps$">' >> /usr/local/etc/apache24/httpd.conf
echo ' SetHandler application/x-httpd-php-source' >> /usr/local/etc/apache24/httpd.conf
echo '</FilesMatch>' >> /usr/local/etc/apache24/httpd.conf
pkg install mediawiki123

tatsächliche Installation Siehe auch