Hi,
I tried installing MediaWiki 1.3.9 as downloaded from sourceforge.net on a MySQL 3.x/PHP 4.x system under Linux.
I uploaded the already decompressed files via ftp, went to config/ and filled in the form. PHP is in safe mode so I followed the recommendation of chmodding the images/ directory to 666 (world writeable) for the installation. I also changed the config/ dir to be world writeable and then submitted the form.
The result was a blank page - and a created LocalSettings.php in config/ which I moved to the MediaWiki root. I checked whether the database had been changed and there were a couple of tables that had been created.
The INSTALL file instructed me to go to the MediaWiki root with a web browser now - the message I got upon that was:
Warning: realpath() has been disabled for security reasons in /../mediawiki/PHPTAL-NP-0.7.0/libs/PHPTAL/SourceResolver.php on line 54
Any ideas?
Thank in advance, Thomas
Thomas Tschoellitsch wrote:
Warning: realpath() has been disabled for security reasons in /../mediawiki/PHPTAL-NP-0.7.0/libs/PHPTAL/SourceResolver.php on line 54
Your PHP is misconfigured to disable functions that are important to security (realpath can be used to enforce path restrictions on filenames passed to a script).
If you're not able to change that, upgrade to 1.4beta which doesn't use the PHPTAL template library and won't trigger this function for most normal usage. (Hold off a few hours, beta6 is coming very soon.)
-- brion vibber (brion @ pobox.com)
mediawiki-l@lists.wikimedia.org