Move Minimize, Maximize and Close Buttons (Ubuntu – Gnome)

Everybody has their own preference as to where they like their minimize, maximize and close buttons. These days some even prefer to remove some of these window controls as the way some desktop environments have been developed suggest you don’t really need them.

This post aims to show you how you can put them where YOU want them!

How to Open a Terminal in Ubuntu

Opening a terminal isn’t as important as it used to be in Ubuntu. Ubuntu is quite user friendly now (though some would argue it is moving against that with it’s unity interface!) but using a terminal is still as powerful as ever!

Filezilla Crashes on Drag and Drop – Ubuntu 11.10


Filezilla – What just happened?!

Recently Filezilla crashes on drag and drop, I believe its an Ubuntu 11.10 problem as I don’t remember this occurring before. It’s pretty drastic so I’m sure I would have noticed!

Whenever I try to drag and drop a folder Filezilla disappears (exits or crashes – however you want to explain it!). It wasn’t too painful to fix…. luckily.

Install Lamp Server on Ubuntu

Install LAMP server ubuntu

Install LAMP Server – Ubuntu: The command we’re all after….

Install LAMP Server on Ubuntu?

A few complex packages but all (bar linux!) can be installed with one command and then following the on-screen instructions:

(NOTE: All the commands here need to be typed into a terminal, open one by pressing Ctrl+Alt+T.)

Where is php.ini located in Ubuntu?

Where is php.ini file?

This is a question I have been asked a few times recently. Depending on what system you are running, php.ini could have different locations. But where is php.ini hidden?

Find php.ini

Firstly, it’s not hidden, it’s a configuration script which determines the settings of your PHP installation. There are few ways to find where the php.ini file.

PHP time limit – extend script running time

Some scripts require some time to execute, and they might reach your PHP time limit.

Fatal error

If PHP time limit is too short for your script, you will see this error:

Fatal error: Maximum execution time of N seconds exceeded in /path/to/script.php on line N

PHP memory limit – increase memory allocation

Sometimes, when executing a script with a strong memory usage, we might reach the PHP memory limit.

Fatal Error

This is what we can see when that moment happens:

Fatal error: Allowed memory size of a certain amount bytes exhausted (tried to allocate another amount bytes) in /path/to/script.php