PHP/PostgreSQL Instance

This instance is for those that would like to host websites or applications that are written in PHP and use a PostgreSQL database.

You can also use this instance for static websites (HTML only) without any problem.

Prerequisites

  • Basic knowledge of the language and tools (HTML, SFTP, phpMyAdmin)

General functioning

The functioning of the instance is rather simple. Publishing it online is done with a few steps:

  1. Declare an address on your instance: see how
  2. Upload your files to the root of the 'htdocs' directory of the site in question: see how
  3. Import the database via Admirer

Your home page must be called index.html or index.php in order to be interpreted by default by the Apache server.

You can see all the Apache and php errors in the logs that are accessible for your instance.

Characteristics of this instance family

  • PHP Version 5.4 (link to a phpinfo)
  • php-apc 3.1
  • PostgreSQL
  • phpPgAdmin / adminer
  • Apache 2.4

For information concerning the installed Apache modules, as well as the specific php settings for Simple Hosting instances, click here.

See Also

上一次變更: 2016/05/31 10:23 (外部編輯)