kieranbarnes Independent PHP, WordPress & CubeCart Programmer

Upgrading to MySQL 5.1 in cPanel/WHM

Posted on August 8, 2011

Upgrading to MySQL 5.1 in cPanel is currently not the easiest thing in the world. I've seen guides detailing disabled various cPanel updates, hacking cPanel scripts and even installing your own 5.1 RPMs, all of which will probably end in tears at some point when cPanel runs one of its update scripts.

Heres the easiest and safest method I've found.

Building rich experiences with xdebug javascript plugins

Posted on August 8, 2011

Ian Horst from PHPNW has posted a good article on Building rich experiences with xdebug javascript plugins which came about from a talk by Derick Rethans. It discusses making xdebug data available as JSON so you better understand the xdebug output. Hopefully this will become more wide spread in time.

 

Installing RepoForge (RPMForge) in CentOS

Posted on August 6, 2011

RepoForge (RPMForge) contains over 5,000 extra packages for CentO. Many new packages and some updated packages not yet approved into the CentOS release repo.

1. Download the rpmforge-release package. Choose one of the two links below, selecting to match your host's architecture. If you are unsure of which one to use you can check your architecture with the command uname -i

Adding image to Shopp’s cart page

Posted on July 29, 2011

This is asked an awful lot on the Shopp Forums. User's want to see a product thumbnail in their cart page next to the product name. It's really quite simple.

Really Simple WordPress Post Filtering

Posted on July 21, 2011

Sometimes you don't want to show every post category on your WordPress site home page, or any WordPress for that matter.

Luckily there is a really simple way of filtering posts. For example if I want to exclude certain categories from the home page, I could do the following...

Fixing cPanel File Permissions

Posted on July 18, 2011

Sometimes users mess with their own file permissions that they no longer work. They will probably then ring you and blame you in a loud, irritated voice. Here's a simple shell script to fun that will fix all permissions in a users home directory on a cPanel server.

Overview of PHP Handlers for cPanel

Posted on July 18, 2011

cPanel provides four different PHP Handlers, some are good, some are not so good.

Here's a simple overview of the four options you have. Original site is currently down so I can't trackback.

Filed under: cPanel/WHM, Linux, PHP No Comments

Disabling Dangerous PHP Functions in a Shared Environment

Posted on July 15, 2011

PHP is an incredibly versatile language and if used in the wrong way, either maliciously or by accident has the potential to mess up an entire webserver. This can be a major problem if you are offering a shared hosting environment.

There is an often overlooked php.ini setting called disable_functions at hand.

Disable Virus Checking in Firefox

Posted on July 15, 2011

What does the virus  scanning in Firefox really do? Apart from make me wait to open my downloads.

Nothing.

Lets disable it.

Using custom CSS in cForms

Posted on July 14, 2011

Pretty much every WordPress installation I've done in the last few years has got cForms installed. Its one of the must have plugins.

Many people are unaware of the custom CSS options available in cForms. Ever edited a default style and lost it during an upgrade? Annoying isn't it?

Here's how you make a custom, upgrade proof CSS skin for your cForms.

Page 5 of 34« First...34567...102030...Last »