Server Archive

CakePHP Crontab

Due to the way that CakePHP rewrites URL requests with its router, it might seem confusing to execute a Crontab to run a controller action. I will show you how to set up a cron dispatcher so that you can execute all your different controller action schedules on a single file and pass the controller

Xampp phpMyAdmin Problem

I started XAMPP today and tried to open phpMyAdmin (http://localhost/phpmyadmin/) in my browser in order to do some database management. Unfortunately I was presented with the following error message : cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly After playing around

Linux : Change file/folder owner

On a Unix based system, all files and folders belong to a group and a owner. Or rather, an owner and a group has specific permissions to read, write and execute files. So you might need to change the owner of certain files and folders so that you’ll be able to open them, edit them

MySQL : Transfer database from server to another server

In this article, I will show you how to dump a mysql database from one server to another remote server without having to export and import your SQL structure and data. We’ll dump a database directly to another empty database on another, remote server. In order to do this, you’ll need shell access to both

Server to server file transfers

Server to server file transfers are relatively easy on a dedicated or virtual private server running Unix. I’ll quickly show you how to use the scp command which acts just about exactly the same as the cp command. It copies all files from a specified source path to a destination path on the remote server

Crontab : Disable email notifications

By default, when you schedule a cronjob, the cron daemon will email the administrator with the results of the schedule. You can easily turn off email reporting by appending the string “>/dev/null 2>&1” (without quotes) to the end of the command. Like this : wget >/dev/null 2>&1 Hope this helps!