On Dec 18, 2003, at 03:47, Senthil_OR(a)Dell.com wrote:
I also noticed that myApache server interprets the PHP
files,only if it
is in .php format and does not read .phtml format.(AddType
application/x-httpd-php .php .phtml is Set)
Be sure to restart Apache (apachectl restart) after editing the Apache
configuration files. If for some reason is just won't work, you should
be able to rename the installed wiki.phtml to wiki.php and have things
work; you'll just have to be sure and fix up $wgScript in
LocalSettings.php appropriately.
What changes,should make in the LocalSettings.php and
AdminSettings.php
?
When I compile, I also get a warning stating that
WARNING: register_globals is not on; MediaWiki currently relies on this
option.
You won't be able to get at anything but the main page unless you
enable register_globals. Edit your php.ini (on Red Hat this is probably
/etc/php.ini, but a custom configuration could put it in several other
places) and change this line:
register_globals = Off
to:
register_globals = On
Now, you have to restart Apache to make sure it gets completely
reloaded. (apachectl restart)
What steps should I follow the setup the correct path
in the setings.
Which paths need to be setup to what?
The configuration system is a little strange, unintuitive, and poorly
documented, I know. The thing to remember is this: everything is set
*first* in DefaultSettings.php. Your LocalSettings.php calls that in,
and *then* resets and overrides individual values.
If one of the base variables (such as $wgScriptPath or $wgScript) is
wrong by default, you need to override *every* default setting that
makes use of it. Study DefaultSettings.php to see what might need to be
changed.
-- brion vibber (brion @
pobox.com)