Difference between revisions of "PHP"

From Wikicliki
Jump to: navigation, search
m
Line 1: Line 1:
 +
== What version of PHP am i using? ==
 +
 
<pre><?php phpinfo() ?></pre>
 
<pre><?php phpinfo() ?></pre>
 +
 +
== 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 ==
  
 
http://foundationphp.com/tutorials/php_leopard.php
 
http://foundationphp.com/tutorials/php_leopard.php
  
 
[[Category:Programming]]
 
[[Category:Programming]]

Revision as of 12:23, 20 December 2012

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

http://foundationphp.com/tutorials/php_leopard.php