linux

How to Fix CURLOPT_FOLLOWLOCATION cannot be activated PHP Error in Kloxo Linux

Today I was running a PHP script which used CULROPT_FOLLOWLOCATION option and it threw an error saying: Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in … I had encountered this error previously as well, but it dint really matter to me as the script used to work just […]

Check MySQL Size in Linux

I wanted to check the amount of diskspace that my database engine (MySQL) was utilizing on one of my VPS. Now for those of you who don’t know yet, you need to check out /var/lib/mysql folder for that. The total size of those files is the total amount of disk space that your MySQL is […]

putty

How to use Putty

There are many webmasters out there who have websites on shared hosting and wish to switch to VPS. But the main problem that comes with switching to VPS is that you need to manage your own VPS or hire people to manage your VPS. Now for average webmasters it is incovenient to hire a server […]

linux

Zip a folder in Linux

So today when I was taking backup of files without using cPanel, I tried my hands at creating a zip archive using SSH Prompt. But I was stuck, because when I used the comand, It compressed all the files in the directory, but all the contents of the folders were not included in the zip […]