hints:linux
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
hints:linux [2020/11/09 21:35] – [Linux Hints, Top Tips, and FAQs] philip | hints:linux [2020/11/09 21:45] – [Add the PHP repo] philip | ||
---|---|---|---|
Line 8: | Line 8: | ||
Easy, install the latest php which, at time of writing, is 7.4. | Easy, install the latest php which, at time of writing, is 7.4. | ||
+ | |||
+ | We need to add Ondre Sury's PPA repository which has the latest php builds. Ondre also recommends installing his PPA of apache2, so we'll add that as well. | ||
+ | |||
+ | < | ||
+ | philip@host: | ||
+ | root@host: | ||
+ | root@host: | ||
+ | root@host: | ||
+ | </ | ||
+ | |||
+ | This will update the database to the latest packages available. And then we simply do: | ||
+ | |||
+ | < | ||
+ | root@host: | ||
+ | </ | ||
+ | |||
+ | which will update php and apache2 to the latest versions plus do all the needful with enabling modules etc etc. | ||
+ | |||
+ | Once installed check that it is working by running '' | ||
+ | |||
+ | < | ||
+ | philip@host: | ||
+ | PHP 7.4.12 (cli) (built: Oct 31 2020 17:04:09) ( NTS ) | ||
+ | Copyright (c) The PHP Group | ||
+ | Zend Engine v3.4.0, Copyright (c) Zend Technologies | ||
+ | with Zend OPcache v7.4.12, Copyright (c), by Zend Technologies | ||
+ | </ | ||
+ | |||
+ | It is also worth checking that ''/ | ||
+ | |||
===== Setting iDRAC8 Server info ===== | ===== Setting iDRAC8 Server info ===== | ||
hints/linux.txt · Last modified: 2024/03/20 18:55 by philip