Skip to content

Commit

Permalink
make it clearer which versions are supported on which system
Browse files Browse the repository at this point in the history
  • Loading branch information
chregu committed Jan 14, 2017
1 parent b6ab5ec commit bfd0f80
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions getLatestVersions.php
Expand Up @@ -38,13 +38,13 @@ function getObject($src) {
if ($response->isOK()) {
preg_match("/([5-9]\.[0-9]+)-(10\.[0-9]+){0,1}-*frontenddev-([0-9\.(alphabetaRC\-dev)]+)-([0-9]{8})-([0-9]+)/",$response->body,$matches);
if ($matches[2] == "") {
$matches[2] = "10.6/10.7 ";
$matches[2] = "10.6 /10.7 ";
}
if ($matches[2] == "10.8") {
$matches[2] = "10.8/10.9 ";
$matches[2] = "10.8 /10.9 ";
}
if ($matches[2] == "10.10") {
$matches[2] = "10.10/10.11";
$matches[2] = "10.10-10.12";
}
preg_match("/([0-9]{4})([0-9]{2})([0-9]{2})/",$matches[4],$date);
$text = "PHP " . $matches[3] . " for OS X " . $matches[2] . " uploaded at " . $date[1] ."-" . $date[2] . "-" . $date[3] ."\n";
Expand Down
12 changes: 6 additions & 6 deletions index.html.tmpl
Expand Up @@ -112,27 +112,27 @@ One Line Installation
</h2>
<p>All you need to do to install the whole thing is opening up a Shell and execute the following line:
</p>
<h3>PHP 7.1 (Current stable)</h3>
<h3>PHP 7.1 (Current stable) - 10.10 and later</h3>
<pre>
curl -s https://php-osx.liip.ch/install.sh | bash -s 7.1
</pre>
<h3>PHP 7.0 (Old stable)</h3>
<h3>PHP 7.0 (Old stable) - 10.10 and later</h3>
<pre>
curl -s https://php-osx.liip.ch/install.sh | bash -s 7.0
</pre>
<h3>PHP 5.6 (Old stable)</h3>
<h3>PHP 5.6 (Old stable) - 10.8 and later </h3>
<pre>
curl -s https://php-osx.liip.ch/install.sh | bash -s 5.6
</pre>
<h3>PHP 5.5 (End of life)</h3>
<h3>PHP 5.5 (End of life) - All OS X versions</h3>
<pre>
curl -s https://php-osx.liip.ch/install.sh | bash -s 5.5
</pre>
<h3>PHP 5.4 (End of life)</h3>
<h3>PHP 5.4 (End of life) - All OS X versions</h3>
<pre>
curl -s https://php-osx.liip.ch/install.sh | bash -s 5.4
</pre>
<h3>PHP 5.3 (End of life)</h3>
<h3>PHP 5.3 (End of life) - All OS X versions</h3>
<pre>
curl -s https://php-osx.liip.ch/install.sh | bash -s 5.3
</pre>
Expand Down

0 comments on commit bfd0f80

Please sign in to comment.