Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update default version #114

Merged
merged 2 commits into from
Dec 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions content/doc/reference/reference-environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ If `TAILSCALE_LOGIN_SERVER` is provided, the agent will be configured to reach a
|`CC_EXTRA_JAVA_ARGS` | Define extra arguments to pass to 'java' for jars. | | |
|`CC_JAR_ARGS` | Define arguments to pass to the jar we launch. | | |
|`CC_JAR_PATH` | Define the path to your jar. | | |
|`CC_JAVA_VERSION` | Choose the JVM version between 7 to 17 for OpenJDK or graalvm-ce for GraalVM 21.0.0.2 (based on OpenJDK 11.0). | 11 | |
|`CC_JAVA_VERSION` | Choose the JVM version between 7 to 17 for OpenJDK or graalvm-ce for GraalVM 21.0.0.2 (based on OpenJDK 11.0). | 21 | |
|`CC_MAVEN_PROFILES` | Define which maven profile to use during default build. | | |
|`CC_RUN_COMMAND` | Custom command to run your application. Replaces the default behaviour. | | |
|`CC_SBT_TARGET_BIN` | Define the bin to pick in the `CC_SBT_TARGET_DIR`. | The first bin found in the `CC_SBT_TARGET_DIR`. | |
Expand Down Expand Up @@ -231,7 +231,7 @@ If `TAILSCALE_LOGIN_SERVER` is provided, the agent will be configured to reach a
|[`CC_PHP_ASYNC_APP_BUCKET`](/doc/applications/php/#speed-up-or-disable-the-session-fs-bucket "Speed up or disable the session on FS Bucket") | Mount the default app FS bucket asynchronously. If set, should have value `async` | |
|[`CC_PHP_DEV_DEPENDENCIES`](/doc/applications/php/#development-dependencies "Development dependencies") | Control if development dependencies are installed or not. Values are either `install` or `ignore` | |
|[`CC_PHP_DISABLE_APP_BUCKET`](/doc/applications/php/#speed-up-or-disable-the-session-fs-bucket "Speed up or disable the session on FS Bucket") | Disable entirely the app FS Bucket. Values are either `true`, `yes` or `disable` | |
|`CC_PHP_VERSION` | Choose your PHP version between 5.6, 7.2, 7.3, 7.4, 8.0, 8.1 and 8.2 | 7 |
|`CC_PHP_VERSION` | Choose your PHP version between 5.6, 7.2, 7.3, 7.4, 8.0, 8.1 and 8.2 | 8 |
|`CC_REALPATH_CACHE_TTL` | The size of the realpath cache to be used by PHP | 120 |
|`CC_WEBROOT` | Define the `DocumentRoot` of your project | `.` |
|`ENABLE_ELASTIC_APM_AGENT` | Elastic APM Agent for PHP | `true` if `ELASTIC_APM_SERVER_URL` is defined, `false` otherwise |
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1271,7 +1271,7 @@ contain any build task.</p>
<li><code>8.1</code></li>
<li><code>8.2</code></li>
</ul>
<p>All new PHP applications are created with a default <code>CC_PHP_VERSION</code>, set to 7, which means latest php 7 version available.</p>
<p>All new PHP applications are created with a default <code>CC_PHP_VERSION</code>, set to 8, which means latest php 8 version available.</p>
<p>You can of course change it whenever you want then redeploy your application to use the version you want. We only support values based on the first two digits <code>X.Y</code> not <code>X.Y.Z</code>.</p>
<p>The configuration file for your PHP application must be <code>/clevercloud/php.json</code>, that is a <em>php.json</em> file in a <code>/clevercloud</code> folder at the root of your application.</p>
<h3>Change the webroot<span class="absolute -mt-20" id="change-the-webroot"></span>
Expand Down
10 changes: 5 additions & 5 deletions layouts/partials/language-specific-deploy/php/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@

<title>Clever Cloud Documentation</title>
<meta name="description" content="Configure your PHP application Choose your PHP version Set the CC_PHP_VERSION environment variable to one of the following values:
5.6 7.2 7.3 7.4 8.0 8.1 8.2 All new PHP applications are created with a default CC_PHP_VERSION, set to 7, which means latest php 7 version available.
5.6 7.2 7.3 7.4 8.0 8.1 8.2 All new PHP applications are created with a default CC_PHP_VERSION, set to 8, which means latest php 8 version available.
You can of course change it whenever you want then redeploy your application to use the version you want. We only support values based on the first two digits X." />



<meta property="og:title" content="" />
<meta property="og:description" content="Configure your PHP application Choose your PHP version Set the CC_PHP_VERSION environment variable to one of the following values:
5.6 7.2 7.3 7.4 8.0 8.1 8.2 All new PHP applications are created with a default CC_PHP_VERSION, set to 7, which means latest php 7 version available.
5.6 7.2 7.3 7.4 8.0 8.1 8.2 All new PHP applications are created with a default CC_PHP_VERSION, set to 8, which means latest php 8 version available.
You can of course change it whenever you want then redeploy your application to use the version you want. We only support values based on the first two digits X." />
<meta property="og:type" content="article" />
<meta property="og:url" content="language-specific-deploy/php/" /><meta property="article:section" content="partials" />
Expand All @@ -29,14 +29,14 @@

<meta itemprop="name" content="">
<meta itemprop="description" content="Configure your PHP application Choose your PHP version Set the CC_PHP_VERSION environment variable to one of the following values:
5.6 7.2 7.3 7.4 8.0 8.1 8.2 All new PHP applications are created with a default CC_PHP_VERSION, set to 7, which means latest php 7 version available.
5.6 7.2 7.3 7.4 8.0 8.1 8.2 All new PHP applications are created with a default CC_PHP_VERSION, set to 8, which means latest php 8 version available.
You can of course change it whenever you want then redeploy your application to use the version you want. We only support values based on the first two digits X.">
<meta itemprop="dateModified" content="2023-09-30T19:12:25+02:00" />
<meta itemprop="wordCount" content="2880">
<meta itemprop="keywords" content="" /><meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content=""/>
<meta name="twitter:description" content="Configure your PHP application Choose your PHP version Set the CC_PHP_VERSION environment variable to one of the following values:
5.6 7.2 7.3 7.4 8.0 8.1 8.2 All new PHP applications are created with a default CC_PHP_VERSION, set to 7, which means latest php 7 version available.
5.6 7.2 7.3 7.4 8.0 8.1 8.2 All new PHP applications are created with a default CC_PHP_VERSION, set to 8, which means latest php 8 version available.
You can of course change it whenever you want then redeploy your application to use the version you want. We only support values based on the first two digits X."/>

<link rel="preload" href="/css/compiled/main.min.a457e51779d7bf6db7ce4abb5537eae47017067bddb6ea3e73037c9134f9a826.css" as="style" integrity="sha256-pFflF3nXv223zkq7VTfq5HAXBnvdtuo&#43;cwN8kTT5qCY=" />
Expand Down Expand Up @@ -2329,7 +2329,7 @@ <h2>Configure your PHP application<span class="absolute -mt-20" id="configure-yo
<li><code>8.1</code></li>
<li><code>8.2</code></li>
</ul>
<p>All new PHP applications are created with a default <code>CC_PHP_VERSION</code>, set to 7, which means latest php 7 version available.</p>
<p>All new PHP applications are created with a default <code>CC_PHP_VERSION</code>, set to 7, which means latest php 8 version available.</p>
<p>You can of course change it whenever you want then redeploy your application to use the version you want. We only support values based on the first two digits <code>X.Y</code> not <code>X.Y.Z</code>.</p>
<p>The configuration file for your PHP application must be <code>/clevercloud/php.json</code>, that is a <em>php.json</em> file in a <code>/clevercloud</code> folder at the root of your application.</p>
<h3>Change the webroot<span class="absolute -mt-20" id="change-the-webroot"></span>
Expand Down
2 changes: 1 addition & 1 deletion static/partials/java-versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Simply set the environment variable **CC_JAVA_VERSION** to the version you want.

{{< callout type="info" >}}
We are using Java version 11 by default.
New applications will have the `CC_JAVA_VERSION` environment variable set to 11.
New applications will have the `CC_JAVA_VERSION` environment variable set to **21**.
{{< /callout >}}

Accepted values are `7`, `8`, `11`, `17`, `21` or `graalvm-ce` (for GraalVM 21.0.0.2, based on OpenJDK 11.0).
Expand Down
2 changes: 1 addition & 1 deletion static/partials/language-specific-deploy/php.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Set the `CC_PHP_VERSION` environment variable to one of the following values:
- `8.1`
- `8.2`

All new PHP applications are created with a default `CC_PHP_VERSION`, set to 7, which means latest php 7 version available.
All new PHP applications are created with a default `CC_PHP_VERSION`, set to 8, which means latest php 8 a version available.

You can of course change it whenever you want then redeploy your application to use the version you want. We only support values based on the first two digits `X.Y` not `X.Y.Z`.

Expand Down
Loading