Tag: maintain your site

I Am Now Officially a Coding Geek-Appointed by My Hosting Company

Have you been appointed as a Coding Geek by your Hosting Company?  Here is the notice I recently received from Host Gator on my shared hosting account..

Dear Valued Customer,

Regarding your shared hosting account on gator3089.hostgator.com with the primary domain name joellafightsdiabetes.com, We’re writing to inform you of an important change in your server’s default configuration that may affect your websites.

The default version of PHP employed by our servers will be updated to PHP 5.4 on 5/19/2014.

We will be attempting to automatically detect the compatibility of joellafightsdiabetes.com and any other addon domains you have, but we want to ask you to please log into your cPanel and test all of your sites using PHP 5.4 by following the directions given in this article:

http://support.hostgator.com/articles/cpanel/php-configuration-plugin

FAQ:

1) Why are you making this change?

The default version of PHP that our servers are currently utilizing; PHP 5.2 ; has been deprecated for some time. As such, we would like to see your sites enjoying the security and performance benefits of the newer versions of PHP which we already have available on your server.

2) How can I make sure my sites will work?

While we are taking every possible step to try and automatically assign the right version to all of your scripts, we do want to ask you to please login into your cPanel and test all of your sites using PHP 5.4 yourself.

Here’s a more detailed explanation on how to test this using our plugin available via cPanel.

The default behavior of your account is for PHP settings to be inherited by sub-directories.

That means that you can easily test all of your site’s compatibility with PHP 5.4, by setting the PHP handler for your home directory for your account to PHP 5.4.

Then simply test your websites by opening them in your browser.

To test this using our plugin please do the following:

  • * Login to your cPanel at https://gator3089.hostgator.com/cpanel* Click on the “PHP Configuration” icon, which can be found under the “Advanced” group of icons in cPanel. * From the drop-down of Available PHP handlers, please select “PHP 5.4” without changing the target directory from the current setting. It should be displaying / (Current Folder). Click on “Update”* You should see a confirmation message that reads: The “.php” file extension will be processed by PHP 54 for this account. Clicking on “Back” you should now notice the dropdown listing PHP 5.4 as the active Handler * At this point you will want to test your sites by opening them in your browser. If you do not notice any issues or visible errors, this means your sites are compatible with PHP 5.4 and you do not need to perform any further actions to ensure they continue to work once the PHP upgrade is performed. You will simply want to leave the Handler that was just set as the active one without any other changes. * If on the other hand, you do notice issues during your test with your sites and the PHP 5.4 Handler that was enabled, you can then simply toggle the active Handler via our plugin and set it to use “PHP 5.2”.

 

This should set your account to specifically use the the current default version of PHP in our servers and ensure they continue to use this version once the PHP upgrade process is performed.

Our upgrade process is set to honor the current Handler settings you set via this plugin to ensure your scripts continue to work once the upgrade is completed.

Please note: Selecting “No custom Handler (Sys Default)”, will NOT ensure your account stays using PHP 5.2 once the PHP upgrade is complete.

While PHP 5.2 is currently the system default version, once the upgrade is complete, the default version will be PHP 5.4.

If your applications require PHP 5.2 you will want to make sure to specifically select the “PHP 5.2” option.

3) Will my site’s experience any down time?

The switch between PHP versions is simply a configuration change in your .htaccess file(s) as such, there is no maintenance which must be performed on the server itself that would cause any service outages.

Applications that are not compatible with PHP 5.4 will fail to load properly once the change is performed.

While we will make every effort to automatically perform compatibility checks for each accounts and set the appropriate Handler, it’s imperative for you to please do the compatibility tests from your end as well using the steps listed above, before 5/19/2014 .

4) Who can help me update my site/script to use a newer version of PHP?

While we can assist you with changing the version of PHP your script utilizes, we will not be able to recode your site to be compatible with newer versions of PHP.

You should contact the script’s author/developer to inquire as to whether or not they currently have or plan to re-design their code to utilize later versions of PHP.

 

I’ve got to go to school and study up.  Not sure I have enough time left in this world to rewrite the scripts on my websites. 

Funny, I had something that wasn’t working last month and went in and changed my PHP version to 5.4 per the instructions of the author of the program that wasn’t working. 

As Luck would have it, everything else in my shared account worked with the new version of PHP. 

Don’t recall any instructions to “fix it” if is broken other than that ominous phrase…”contact your site designer”. 

Since that is me and I haven’t yet graduated to being a professional IT guess it would have been  Sergio Felix time.  So if you aren’t a coding Geek…make sure you have friend that can point you in the right direction. 

 

 

Tagged As: , , , , , , , , , ,

  • What the World is Looking For

  • What the World is Searching For