moodLearning Wiki


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

Link to this comparison view

Both sides previous revision Previous revision
linux-commandline-tips [2019/10/10 16:35]
serbizadmin [Log Analysis]
linux-commandline-tips [2020/01/03 20:55] (current)
serbizadmin [PHP]
Line 54: Line 54:
 </​code>​ </​code>​
 \\ \\
 +  * reinstall all php packages
 +apt-get install --reinstall `dpkg -l | grep '​ii ​ php7' | awk '{ printf($2"​ "); next}'​`
 ====== Log Analysis====== ====== Log Analysis======
 * limiting by date range * limiting by date range
 sed -n '/​8\/​Oct\/​2019/,/​8\/​Oct\/​2019/​ p' access.log sed -n '/​8\/​Oct\/​2019/,/​8\/​Oct\/​2019/​ p' access.log