Mediawiki does not run for the first time

view story

http://serverfault.com – I'm trying to install Mediawiki 1.22.6 into a subdirectory /wiki/ of apache document root directory, which contains some other directories. When I try to open http://example.com/wiki or http://example.com/wiki/index.php for the very first time to generate LocalSettings.php, the script is not run; instead, a part of it is printed: bar(), etc etc) which throw parse errors in # PHP 4. Setup.php and ObjectCache.php have structures invalid in PHP 5.0 and # 5.1, respectively. if ( !function_exists( 'version_compare' ) || version_compare( phpversion(), '5.3.2' ) < 0 ) { // We need to use dirna (HowTos)