Skip to content


Hosting Basics: PHP issues? A simple first step to speed things up

During my time in IT I have worked in many fields including WebHosting. One of the most common calls received during my time as first level support was one the following;

“PHP does not/or I cant get it working on my account, what the hell is wrong?”

This of course could mean anything to a first level staff member and due to that fact it may take more time then it should to resolve such an issue. This script should simply show that their is in fact in most cases nothing wrong with the PHP install or your account but rather with the script that you are trying to use.

The first thing you may want to try before calling or emailing to see if there is an issue is to try this very basic well known little snippet. Just follow what is written below;

(1) Create a new text file on your local PC

(2) Inside of the file add the following text:

<?php
phpinfo();
?>

(3) Save the file as info.php and upload it to your web directory with your webhost. This is most commonly public_html or similar.

Provided you have followed the steps above you should be able to browse to it in your browser by using the following:

www.domain-name.com/info.php

If you get a page filled with text showing you information in regards to the install then that means that your PHP install is fine and that as said earlier it may in fact be either an issue with your script, or could be with a feature of PHP that your host is not using or has limited for some reason.

I would suggest when you do call your hosting company that you provide them with the link first thing to stop them from running around with their silly little heads cut off. While they should already know the information presented to them it may also assist when you ask about a particular feature or setting. It also shows them that you have already undertaken some basic troubleshooting.

Keep an eye out in future as I shall continue to update with just some basic everyday stuff to help you get the most out of your hosting and or your support.

Regards,
Insidius

Posted in Uncategorized.


2 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. RavenKittie says

    POST MOAR

  2. John Dorman says

    Does my webhosting account support ASP?!

    Also, My dialup isn’t working!

    *calls ombudsman*



Some HTML is OK

or, reply to this post via trackback.