Category: Linux

How to Increase PHP Memory Using ini_set() 0

How to Increase PHP Memory Using ini_set()

Sometimes there might be a need to increase the allocated memory for PHP to run something that needs more power.  Normally it’s a large file that is simply just being opened in memory. You...

How to Import a Large CSV file to MySQL 0

How to Import a Large CSV file to MySQL

One of my clients recently needed over 100,000 lines of a CSV file added to a database.  At first being a PHP developer I tried making an upload page and looping the results through fgetcsv() but...

Changing the Postfix maximum email size 0

Changing the Postfix maximum email size

I’ve recently had a customer emailing large image screenshots and Postfix has been rejecting them.  I looked at the configuration showed the message size limit was set to the default so I needed to make it...

How to Run Cron Job in Linux. 0

How to Run Cron Job in Linux.

One thing that’s always handy to know are cron jobs on Linux.  The cron is the most simple way to setup a task that needs to repeat.  In most distributions you’ll find your cron...