To find the version of Ubuntu that you are using, from the shell enter the following:
- lsb_release -a
It will print out some niceties that you are looking for.
To find the version of Ubuntu that you are using, from the shell enter the following:
It will print out some niceties that you are looking for.
Setting your default timezone in PHP is a very easy task and may be needed for some applications. If you fall into this bucket, all you need to do is….
In case you’re wondering… I write these how to’s to help me remember. Might not be so helpful for everyone else, but maybe.
Looking for the primary php.ini in Ubuntu to change some default settings across Apache? No problemo. Here are three different options for finding it:
<?php phpinfo(); ?> through your PHP interpreter. This will show you where your main php.ini file is.find / -name php.ini
/etc/php5/apache2/php.ini (I’m on Ubuntu 9.10 – karmic).This should just about do it for you, old chap.