• Skip to main content
  • Skip to primary sidebar
  • Newsletter
  • Contact
  • About

The Spinning Donut

Helping People Use Technology

Upgrading PHP

August 10, 2008 By Bill Leave a Comment

A couple of months ago I was trying out the PicLens WordPress Plugin.  After installing it and trying to activate it I received a message that said, “This plugin requires PHP 5.1 and you have 4.x.  So what to do?

After investigating a bit using Google and instant messaging my host provider, the solution was to add this line:

AddHandler application/x-httpd-php5 .php

to the .htaccess file. I know this gets rather techy for some folks but I use cpanel and cpanel has a File Manager that will allow you to click on the .htaccess file in your public_html folder under your WordPress instal.  After clicking once on .htaccess a there are file actions you can take to change it, view it, delete it, etc.

I edited the file, added the line above and saved the file.  That magic line tells the server to use PHP 5.  Pretty cool.  All was well after that.

So, if you run into an error like that where you want to be upgrading to a different version of PHP you can do it by editing your .htaccess file or by getting a hold of tech support at your hosting provider.  Again, which can be rather scary for some.

Filed Under: WordPress

Reader Interactions

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Get Exclusive
Tech Tips

Learn tech topics
with exclusive tips and insights
that I only share with my private
newsletter subscribers.

Popular YouTube Videos

  • An Introduction to Ubuntu 8.04 (over 50,000 views)
  • Running Self-Hosted WordPress - 1 of 3
  • Running Self-Hosted WordPress - 2 of 3
  • Running Self-Hosted WordPress - 3 of 3

Subscribe to my YouTube Channel


YouTube Channel

Categories

Copyright © 2026 · Privacy Policy and Disclaimer · Hosting by HostGator