InMotion PHP

php top img

php fundamentals

Internet-php-iconPHP or Hypertext Preprocessor is a scripting language widely used for creating dynamic websites. It offers advanced functions and procedures which are not available on the usual HTML language. Unlike other scripts which are created in external files to be processed by the browsers.

PHP is a server-side language that is embedded into the HTML source file of a website. The PHP scripts are then interpreted by the server using a processor module to generate the desired functions on the website. PHP is widely used because of its flexibility and compatibility with most servers, operating systems and browsers. Today, more than twenty million websites are using PHP with 1 million servers processing them.

html iconIf you know basic HTML, then you’ll find using PHP quite familiar. You will also use codes enclosed in tags like in HTML. If HTML uses and as starting and ending tag, PHP uses the following tags: . The codes enclosed in these tags are to be interpreted by the server as PHP scripts. You can easily insert PHP scripts in HTML source codes because of this structure.

inmotion hosting services

inmotionhosting logoStarted in 2001, InMotion web hosting has been providing outstanding hosting service to thousands of websites. Unlike other web hosts that offer only shared hosting services, InMotion offers a more flexible set of hosting options. It allows users to purchase more advanced hosting services such as VPS (or Virtual Private Server) and dedicated hosting.

four blocks bottom

four blocks top

Its features are unmatched and for only $5.95 per month, you’ll get to experience the following services:

  • Unlimited bandwidth
  • Unlimited storage
  • A free FTP account
  • Modern website builders and admin control panel
  • Shared SSL certificate
  • Google checkout
  • Get free advertising credits care of Yahoo!, Google and Bing.
  • Plus 6 parked domains and 25 subdomains

php on inmotion hosting

web hosting plan package serverDatabase hosting has never been easier with InMotion Hosting. It offers superior PHP support on its new servers. It gives users the option to choose from different PHP versions: either PHP 5.2, 5.3, or 5.4. This way, your PHP scripts can be switched easily and users need not encounter any problem with backward compatibility.

You can also use multiple versions of PHP simultaneously in one account. Here are some of the basic PHP tasks you can do on InMotion:

view your php settings

PHPThe first thing you need to do before you can configure your PHP settings is to create what they call a “PHP info page”. This page is actually a simple PHP page that contains the following PHP codes. This page is used to display all the PHP environment settings so you can start changing their values.

If you do not know how to create a PHP page, you can always use InMotion’s File Manager. Just follow these steps:

    • Log in to your InMotion Hosting account which will direct you to cPanel.
    • Open the File Manager and go to the directory that you are working with.
    • Now click the “New File” menu and use “phpinfo.php” as its file name.
    • You can now see the phpinfo.php file in the list of files. Right-click on it and then click “Edit”.
    • In the text editor just enter this text: and click “Save Changes”.

This page can now be accessed from your browser using this URL: http://yourdomain.com/phpinfo.php. This will display all your PHP settings and variables including the version of your PHP.

changing the php versions

To change your PHP version on InMotion Hosting just follow these steps:

    • Log in to your InMotion Hosting account which will direct you to cPanel.
    • Look for the “PHP Configuration” icon and open it.
    • On the next page, you can now select the PHP version by using the dropdown menu.
    • Click on the “Update” button to confirm your selection.

To know more about PHP and other PHP functions, just visit InMotion’s support center and watch their video tutorials.

Leave A Response