Installing Media Wiki 1.7.1 on free.fr webhost

Misc.InstallingMediaWiki171OnFreeFrWebhost History

Hide minor edits - Show changes to output

Changed line 5 from:
* Activate Php5 instead of Php4: create a .htaccess file at the root of your site containing: <code>PHP 1</code>
to:
* Activate Php5 instead of Php4: create a .htaccess file at the root of your site containing: [@PHP 1@]
Changed line 11 from:
* Modify <code>config/index.php</code>: free restrict the <code>set_include_path()</code>, so paths given to <code>require_once</code> function calls must be prefixed by <code>../</code> Here is the diff with the original file ('<' prefix removed lines, '>' prefix added lines):
to:
* Modify [@config/index.php@]: free restrict the [@set_include_path()@], so paths given to [@require_once@] function calls must be prefixed by [@../@] Here is the diff with the original file ('<' prefix removed lines, '>' prefix added lines):
Changed line 42 from:
* For the same reasons, modify <code>wiki/includes/DefaultSettings.php</code>:
to:
* For the same reasons, modify [@wiki/includes/DefaultSettings.php@]:
Changed lines 49-52 from:
* Upload the wiki directory. You should now be able to access http://yoursite.free.fr/wiki/ . Follow the setup link, fill out the forms.  For the Mysql configuration, choose <code>yoursite</code> for the database name, and enter your ftp username/password.
* Move <code>wiki/config/LocalSettings.php</code> to <code>wiki/LocalSettings.php</code>
* Create a <code>sessions</code> directory at your site root directory to allow Php sessions to work.
to:
* Upload the wiki directory. You should now be able to access http://yoursite.free.fr/wiki/ . Follow the setup link, fill out the forms.  For the Mysql configuration, choose [@yoursite@] for the database name, and enter your ftp username/password.
* Move [@wiki/config/LocalSettings.php@] to [@wiki/LocalSettings.php@]
* Create a [@sessions@] directory at your site root directory to allow Php sessions to work.
Added lines 1-52:
%define=box block border="1px dashed #aaaaaa"%

(:title Installing Media Wiki 1.7.1 on free.fr webhost:)

* Activate Php5 instead of Php4: create a .htaccess file at the root of your site containing: <code>PHP 1</code>
* Prepare wiki directory
%box%[@tar xvfz mediawiki-1.7.1.tar.gz
mv mediawiki-1.7.1 wiki
cd wiki
@]
* Modify <code>config/index.php</code>: free restrict the <code>set_include_path()</code>, so paths given to <code>require_once</code> function calls must be prefixed by <code>../</code> Here is the diff with the original file ('<' prefix removed lines, '>' prefix added lines):
%box%[@
43c43
< require_once( "install-utils.inc" );
---
> require_once( "../install-utils.inc" );
46,49c46,49
< require_once( "includes/Defines.php" );
< require_once( "includes/DefaultSettings.php" );
< require_once( "includes/MagicWord.php" );
< require_once( "includes/Namespace.php" );
---
> require_once( "../includes/Defines.php" );
> require_once( "../includes/DefaultSettings.php" );
> require_once( "../includes/MagicWord.php" );
> require_once( "../includes/Namespace.php" );
206c206
< require_once( "maintenance/updaters.inc" );
---
> require_once( "../maintenance/updaters.inc" );
604a605
>
608c609
<              require_once( "maintenance/InitialiseMessages.inc" );
---
>              require_once( "../maintenance/InitialiseMessages.inc" );
1505c1506
<              require_once( "languages/Names.php" );
---
>              require_once( "../languages/Names.php" );
@]
* For the same reasons, modify <code>wiki/includes/DefaultSettings.php</code>:
%box%[@
31c31
< require_once( 'includes/SiteConfiguration.php' );
---
> require_once( 'SiteConfiguration.php' );
@]
* Upload the wiki directory. You should now be able to access http://yoursite.free.fr/wiki/ . Follow the setup link, fill out the forms.  For the Mysql configuration, choose <code>yoursite</code> for the database name, and enter your ftp username/password.
* Move <code>wiki/config/LocalSettings.php</code> to <code>wiki/LocalSettings.php</code>
* Create a <code>sessions</code> directory at your site root directory to allow Php sessions to work.