WarpConduit Computing

  • Quick Tips
  • Web Development
  • WordPress Plugins
  • Home
  • Passphrase Generator
  • Password Generator
  • About
  • Contact

How to Enable PHP 5.3 on HostMonster Shared Web Hosting

January 27, 2012 by Josh Hartman

phpinfo

Click image to view full phpinfo() output PDF

You heard it right, you can now run PHP 5.3 applications on HostMonster. I’ve only testing this on HostMonster, but I would assume the same applies to BlueHost.

Simply add this line to the beginning of your website’s root .htaccess file:

AddHandler application/x-httpd-php53 .php

After making this change you can test it using phpinfo() and it will show you the version at the top, and as of the time of this post Hostmonster is keeping right up to date, running version 5.3.9.

This is exciting news for Zend programmers and other PHP developers ready for the upgrade. Enjoy!

 

Filed Under: Web Development Tagged With: htaccess, php

How to Bookmark your Facebook News Feed

September 27, 2011 by Josh Hartman

Recently Facebook underwent some design changes, now whenever you login to Facebook you are dropped on the Welcome page. Also if you are already logged in and go to http://www.facebook.com it also drops you on the Welcome page.

But when you click on the link for News Feed the URL registers as http://www.facebook.com. But for those of us who prefer the News Feed when going to the normal Facebook URL this is annoying, and I’ve found no help or settings that allows me to choose the default section that Facebook will initially load.

So after some messing around i found that the URL for the actual Facebook News Feed:

http://www.facebook.com/?sk=nf

Just click that link once you’re logged in to Facebook, bookmark the page, and you’ll be able to go directly to your News Feed using that bookmark; that is unless Facebook makes changes rendering this method useless.

It works for me, hope that information helps someone else.

Filed Under: Computers Tagged With: facebook, home page, news feed, welcome

Prevent Windows Update from Automatically Rebooting Your PC

August 3, 2011 by Josh Hartman

In Windows Server 2008 and Windows 7 your computer may automatically install Window’s Updates and then restart.  Follow one of the methods below to disable this behavior.  These instructions are for computer experts only.

Method 1

  1. Run gpedit.msc
  2. Go to Local Computer Policy -> Computer Configuration -> Administrative Templates -> Windows Components -> Windows Update
  3. Double-click on “No auto-restart for scheduled Automatic Update installation”
  4. Enable it, click OK and close the Group Policy Editor
  5. Reboot

Method 2

If you don’t have gpedit.msc, use the following instructions.

  1. Run regedit.exe
  2. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU
    Note: You will need to create the WindowsUpdate and AU keys if they are missing.
  3. Create a new 32-bit DWORD value inside of WindowsUpdate\AU and name it NoAutoRebootWithLoggedOnUsers
  4. Double-click on your newly created value and give it a value data of 1 (hexadecimal)
  5. Click OK and close Registry Editor

Filed Under: Computers Tagged With: automatic, restart, windows 2008, windows 7, windows update

Fix Redirection and Error Page On Empty WordPress Search

August 2, 2011 by Josh Hartman

I found out just recently that in some cases when you perform a blank search on a WordPress site you are redirected to the front page with an error message. If you encounter this issue simply apply the fix below, which modifies the blank search into a search for one space. This is enough to resolve the error page and land you on the search page.

Add the following code to your theme’s functions.php file to fix this annoying behavior:


if(!is_admin()){
	add_action('init', 'search_query_fix');
	function search_query_fix(){
		if(isset($_GET['s']) && $_GET['s']==''){
			$_GET['s']=' ';
		}
	}
}

Filed Under: Web Development Tagged With: error, redirect, search, wordpress

  • « Previous Page
  • 1
  • …
  • 4
  • 5
  • 6
  • 7
  • 8
  • …
  • 12
  • Next Page »

Connect

  • Facebook
  • GitHub
  • RSS
  • Twitter
  • YouTube

Recent Posts

  • How to Permanently Remove the “Learn about this picture” Spotlight Wallpaper Icon From Your Windows Desktop
  • How to Quickly Test a Fax Machine
  • Extremely Useful Applications for Web Development and IT Tasks

Tags

automatic benchmark bigint class composer css embed escape event font function gzip helper htaccess html htmlspecialchars image increment javascript jquery list magento media mysql number observer opencart order output photo php profiling random redirect rijndael software text type ubuntu url windows windows 7 wordpress xampp xss

Blogroll

  • CodeIgniter
  • Fusion Forward
  • jQuery
  • Nettuts+
  • Smashing Magazine

© 2025 WarpConduit Computing. All Rights Reserved.