From Wikicliki
Jump to: navigation, search

What version of PHP am i using?

<?php phpinfo() ?>

Why is my mediawiki broken with PHP 5.3

Because there is something called Namespace so it breaks the Namespace class. You'll have to rename it something like MWNamespace or go back to 5.2 like i have here.

See also


  $filename = __FILE__;
  if (file_exists($filename)) {
      echo "$filename was last modified: " . date ("d F Y H:i:s.", filemtime($filename));

result: xxx.php was last modified: 21 August 2016 09:32:15.