Add a formal check for the PHP version. I still have a lot of people trying with PHP 5.2.X
Deze commit is opgenomen in:
bovenliggende
bb201b4031
commit
a9062a7632
1 gewijzigde bestanden met toevoegingen van 16 en 0 verwijderingen
|
@ -49,6 +49,22 @@
|
|||
<?php
|
||||
}
|
||||
?>
|
||||
<article class="frontpage">
|
||||
<h2>Check if PHP version is correct</h2>
|
||||
<h4>
|
||||
<?php
|
||||
if (defined('PHP_VERSION_ID')) {
|
||||
if (PHP_VERSION_ID >= 50300) {
|
||||
echo "OK (" . PHP_VERSION . ")";
|
||||
} else {
|
||||
echo "Please install PHP >= 5.3 (" . PHP_VERSION . ")";
|
||||
}
|
||||
} else {
|
||||
echo "Please install PHP >= 5.3";
|
||||
}
|
||||
?>
|
||||
</h4>
|
||||
</article>
|
||||
<article class="frontpage">
|
||||
<h2>Check if GD is properly installed and loaded</h2>
|
||||
<h4>
|
||||
|
|
Laden…
Tabel toevoegen
Link toevoegen
Verwijs in een nieuwe issue