Location of php.ini file
<prompt>:~<username>$ php -ini
List the php modules installed
$php -m
Sample output:
bcmath
bz2
calendar
Core
ctype
curl
date
dba
dom
Location of php.ini file
<prompt>:~<username>$ php -ini
List the php modules installed
$php -m
Sample output:
bcmath
bz2
calendar
Core
ctype
curl
date
dba
dom
Happy Friday, I learnt something new today from a forward from a friend. It's a mantra.
Here's my learning or decoding of what's in it.
prabh ki simran ridh sidh no nidh |
prabh ki simran gyaan dhyaan
thath budh |
I came to know that there is a complete mantra Read more
Since I am no good at vocabulary. I did my part to break it down further.
Prabh -> Prabhu -> God : Prabhu
Simran -> Continuous remembrance
Ridh -> Prosperity : Riddhi
Siddh -> Accomplishment : Siddh-arth
Nau Nidh -> 9 Treasures
Gyaan -> Knowledge ( spiritual or religious knowledge )
Dhyaan -> Contemplation, Reflection, Meditation
Thath -> Supreme
Budh -> To Awkaen, To Know, To become aware or : Buddha
HTH, Please share your wisdom
cat /etc/os-release
Should give you
NAME
VERSION
ID
VERSION-ID
and so -on...
I had to make modifications on a remote machine.But i did not know the location where web server files html or php are located.
ssh username@remotehost
password: #####
bash$cat /etc/httpd/conf/httpd.conf | grep DocumentRoot
# DocumentRoot: The directory out of which you will serve your
DocumentRoot "/var/www/html"
cd /var/www/html
There I was in the directory to proceed further,
A package with the sequence 4.17.4 is interpreted as Major release, Minor Release and patch.
^4.17.4 - keep major version update minor version
~4.17.4 - keep minor version update patch
4.17.4 - exact version
* - latest version