PHP

What’s the full path to php in CentOS?

The path to PHP is /usr/bin/php This is good to know if you need to setup a cron job which triggers a PHP file. Calling it from a web browser directly is not a problem, but if you have to call it from the command line or as a scheduled task you need to call [...]

Read the full article →

How to restore your database?

The Database is the heart of your WordPress installation. Simply backing up and restoring all your files via FTP is not enough – it only contains the actual WordPress “programme” if you will, your plugins and themes, and all your uploaded media files (like pictures). It does NOT however contain your posts, links and some [...]

Read the full article →

How to add a Facebook Group Feed

I’ve come acoss this the other day, comes in handy as Facebook Groups don’t have a generic RSS feed. Here’s how you can display what’s new in your favourite groups within your WordPress Site: Make sure you have your Facebook Group ID handy (it’s the last 11 or so numeric digits after the ‘groupid’ tag [...]

Read the full article →

How to change the PHP Upload Limit

Usually your hosting package limits the amout of data you can upload to 2MB, which isn’t enough for most of us. It’s good for that 200k photo, but say you’re uploading a 4MB audio clip, a video or a large PDF, you’re stuck. Fret not my friends, for help is at hand! Put the following [...]

Read the full article →