Today I got again problem with PHP 7 running despite I have disabled php7.0 apache module: phpinfo was showing php 7 using fastCGI ...
... So if after you follow the below instructions you face this situation, you may need to disable the proxy_fcgi apache module:
本熊 發表在 痞客邦 留言(0) 人氣(1,876)
Remove all the stock php packages
List installed php packages with dpkg -l | grep php| awk '{print $2}' |tr "\n" " " then remove unneeded packages with sudo aptitude purge your_packages_here or if you want to directly remove them all use :
sudo aptitude purge `dpkg -l | grep php| awk '{print $2}' |tr "\n" " "`
Add the PPA
sudo add-apt-repository ppa:ondrej/php
Install your PHP Version
sudo apt-get update
sudo apt-get install php5.6
You can install php5.6 modules too for example
sudo apt-get install php5.6-mbstring php5.6-mcrypt php5.6-mysql php5.6-xml
Verify your version
sudo php -v
本熊 發表在 痞客邦 留言(0) 人氣(1,078)
List interfaces that tcpdump can listen on
tcpdump -D
本熊 發表在 痞客邦 留言(0) 人氣(5,533)
Linux 底下很方便使用的網路設定管理工具 Network Manager, 具備圖形化的操作介面.
沒有圖形化介面的使用者, 可以使用 nmcli 來設定你的網路連線 .
本熊 發表在 痞客邦 留言(0) 人氣(1,211)