User Tools

Site Tools


hints:linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
hints:linux [2020/11/09 21:43] – [Add the PHP repo] philiphints:linux [2024/03/20 18:54] – [Linux Hints, Top Tips, and FAQs] philip
Line 2: Line 2:
  
 Here are some of the Linux hints and documentation that seems to be woefully lacking or just mis-leading on the greater wider Internet. Here are some of the Linux hints and documentation that seems to be woefully lacking or just mis-leading on the greater wider Internet.
 +
 +===== Installing HWE kernel =====
 +
 +This example is for Ubuntu 22.04 but the same principle applies to other releases too.
 +
  
 ===== Installing latest PHP on Ubuntu ===== ===== Installing latest PHP on Ubuntu =====
Line 9: Line 14:
 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.
  
-==== Add the PHP repo ==== +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.
- +
-We need to add Ondre Sury's PPA repository which has the latest php builds. Become root first using ''sudo''. Ondre also recommends installing his PPA of apache2, so we'll add that as well.+
  
 <code> <code>
Line 38: Line 41:
 </code>     </code>    
  
 +It is also worth checking that ''/etc/php/7.4/apache2/php.ini'' and ''/etc/php/7.4/cli/php.ini'' have the settings you expect. Compare with your previous version of php. Most commonly, the timezone value will need to be set different from UTC0/GMT.
  
 ===== Setting iDRAC8 Server info ===== ===== Setting iDRAC8 Server info =====
hints/linux.txt · Last modified: 2024/03/20 18:55 by philip