A leader in web hosting since 1998
Live ChatHelp
  • GBP
  • CAD
  • AUD
  • EUR

Scripting: Introduction to PHP

PHP (Hypertext PreProcessor)is a popular coding language that is powerful enough to work with a database and dynamically generate website content. WordPress is the most popular website builder that uses PHP. Files that are written in php code end with the ".php" file extension (example: file-name.php). You can research additional information on PHP by going toPHP's official website.

Table of Contents
Make a selection to browse categories

Understanding the Importance of Which PHP Version you Use

The PHP coding language is constantly being developed and improved upon. With each new version that is released, some PHP functions and capabilities may be removed while others are introduced. Each new version of PHP aims to increase the security and capabilities of what the language can do.

Older PHP applications and website builders may be designed to run with an older version of PHP, and might not run at all on newer versions. Likewise, newer or up-to-date PHP applications might only work when running on the more recent versions of PHP. To accommidate whichever application you choose to use, iPage allows you to pick from several pre-installed PHP versions.

To learn how to switch which PHP version your hosting account is using, click here.

The php.ini File FAQs

What is the php.ini file?

The php.ini controls how PHP code runs on your hosting account.

Can the php.ini file be modified?

Yes. Most shared hosting accounts will have direct access to modify the php.ini file that is pre-installed onto the server. If an account does not have this feature, a php.ini file can be uploaded and modified manually using FTP.

Is there a way to reset the php.ini file back to it's default settings?

Accounts that have direct access to modify the php.ini file will also have access to a feature that allows them to reset the php.ini file back to server recommended defaults. Otherwise, the account will need to upload a backup of their original php.ini file via FTP.

What are some common modifications to the php.ini file?

We have put together several guides to help you understand how to make several common modifications to your php.ini file. Simply click on one of the following links to get started. You can also contact usto have us make the modifications for you for a small service fee.

Notable Scripting Restrictions

Some PHP applications may require a larger memory limit than the default set within the php.ini. You can change your php.ini file to allow for greater memory use, but the set limit cannot exceed 64MB. If you are still running into memory issues even after maxing out your php.ini limits, you will need to either contact us to inquire about a more powerful hosting platform or reconsider how your website is built.

Run Time:
Some scripts require a significant amount of time to run before they are completed. Allowing scripts to run indefinately could cause vastly negative affects for your website performance as well as the performance of other iPage customers. As such, all PHP/CGI/Perl scripts are limited to 60 seconds of run time. If a script requires more than 60 seconds to run, it will be stopped at 60 seconds (for example, if a PHP script allows a website visitor to upload a file, and the file takes longer than 60 seconds to upload, the file upload will be cancelled).

iPage's Coding and Scripting Support

iPage does not provide support for custom code or custom scripts. Any tools provided by iPage (Control Panel Tools, Support Articles, etc) are meant only for advanced users who are knowledgeable enough to handle their scripts using those tools (see iPage's User Agreement).

If you have limited experience or feel uneasy about working with these scripting languages in a way that suites your needs, we encourage you to consider hiring a web developer to assist. You can utilize a third party web developer, or explore several paid services provided by iPage including:

Feel free to contact us for more information.

Still Need Help? - Contact iPage Support
Submit a
Support Ticket
Call Support