diff --git a/docs/config.md b/docs/config.md index a2071be..18b1828 100644 --- a/docs/config.md +++ b/docs/config.md @@ -31,9 +31,9 @@ services: ## Choosing a server (or not) -By default, `php` services will be served by the default version of our [apache](https://docs.lando.dev/apache/) service but you can switch this to either `nginx` or `cli`. +By default, `php` services will be served by the default version of our [apache](https://docs.lando.dev/plugins/apache/) service but you can switch this to either `nginx` or `cli`. -Like with `apache`, `nginx` will use the the default version of our [nginx](https://docs.lando.dev/nginx/) service while `cli` will just spin up a `php` container without a web server. The latter is useful if you just want to work on a CLI utility or lock down what version `composer` runs with. +Like with `apache`, `nginx` will use the the default version of our [nginx](https://docs.lando.dev/plugins/nginx/) service while `cli` will just spin up a `php` container without a web server. The latter is useful if you just want to work on a CLI utility or lock down what version `composer` runs with. #### With Apache (default) @@ -224,7 +224,7 @@ You may need to override our [default php config](https://github.com/lando/php/t If you do this, you must use files that exist inside your application and express them relative to your project root as shown below: -Note that the default files may change based on how you set both `ssl` and `via`. Also note that the `vhosts` and `server` config will be either for `apache` or `nginx` depending on how you set `via`. We *highly recommend* you check out both the [apache](https://docs.lando.dev/apache/) and [nginx](https://docs.lando.dev/nginx/) if you plan to use a custom `vhosts` or `server` config. +Note that the default files may change based on how you set both `ssl` and `via`. Also note that the `vhosts` and `server` config will be either for `apache` or `nginx` depending on how you set `via`. We *highly recommend* you check out both the [apache](https://docs.lando.dev/plugins/apache/) and [nginx](https://docs.lando.dev/plugins/nginx/) if you plan to use a custom `vhosts` or `server` config. If you set `via: cli` then, as you might suspect, `vhosts` and/or `server` is not going to do anything. diff --git a/docs/guides/installing-extensions.md b/docs/guides/installing-extensions.md index 8c3cdf4..90d1e6f 100644 --- a/docs/guides/installing-extensions.md +++ b/docs/guides/installing-extensions.md @@ -17,7 +17,7 @@ mailchimp: # Installing PHP Extensions on Lando -You may wish to add additional PHP extensions to your Lando [PHP service](https://docs.lando.dev/php). There are a few different ways you can do this: +You may wish to add additional PHP extensions to your Lando [PHP service](https://docs.lando.dev/plugins/php). There are a few different ways you can do this: [[toc]] diff --git a/docs/index.md b/docs/index.md index 41b4f02..079c383 100644 --- a/docs/index.md +++ b/docs/index.md @@ -6,7 +6,7 @@ next: ./config.html # PHP -[PHP](https://www.php.net/) is a popular scripting language that is especially suited for web development. It is often served by either [apache](https://docs.lando.dev/apache/) or [nginx](https://docs.lando.dev/nginx/). +[PHP](https://www.php.net/) is a popular scripting language that is especially suited for web development. It is often served by either [apache](https://docs.lando.dev/plugins/apache/) or [nginx](https://docs.lando.dev/plugins/nginx/). You can easily add it to your Lando app by adding an entry to the [services](https://docs.lando.dev/core/v3/lando-service.html) top-level config in your [Landofile](https://docs.lando.dev/core/v3). @@ -48,5 +48,5 @@ You can still run these versions with Lando but for all intents and purposes the Because we use our own custom images for `php`, specifying a patch version is not currently supported. -If you **really** need to lock down to a patch version, you could consider using either a [custom compose service](https://docs.lando.dev/compose) or a service [overrides](https://docs.lando.dev/core/v3/lando-service.html#overrides). +If you **really** need to lock down to a patch version, you could consider using either a [custom compose service](https://docs.lando.dev/plugins/compose) or a service [overrides](https://docs.lando.dev/core/v3/lando-service.html#overrides). diff --git a/netlify.toml b/netlify.toml index 333876a..5ee3e70 100644 --- a/netlify.toml +++ b/netlify.toml @@ -39,9 +39,9 @@ # We need this so preview environments and the base site look ok on their own [[redirects]] from = "/" - to = "/php" + to = "/plugins/php" status = 200 [[redirects]] - from = "/php/*" + from = "/plugins/php/*" to = "/:splat" status = 200 \ No newline at end of file