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 docs to reflect changes from the last 3 years #587

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
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
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,19 @@ upstream.

### Ubuntu systems and Ondřej's PPA

To use a different PHP version than the Ubuntu one, you can install Ondřej's PPA and set the version explicitly:

```
class{ 'php::repo::ubuntu': }->
class { '::php::globals':
php_version => '7.4',
}
```

#### Older versions of Ondřej's PPAs are deprecated

The older Ubuntu PPAs run by Ondřej have been deprecated (ondrej/php5, ondrej/php5.6)
in favor of a new PPA: ondrej/php which contains all 3 versions of PHP: 5.5, 5.6, and 7.0
in favor of a new PPA: ondrej/php which contains many versions of PHP depending on the release.
Here's an example in hiera of getting PHP 5.6 installed with php-fpm, pear/pecl, and composer:

```puppet
Expand All @@ -287,8 +298,7 @@ php::pear: true
php::phpunit: false
```

If you do not specify a php version, in Ubuntu the default will be 7.0 if you are
running Xenial (16.04), otherwise PHP 5.6 will be installed (for other versions)
If you do not specify a php version, in Ubuntu the default will depend on the release you are using.

### Apache support

Expand Down