PHP configuration

PHP offers numerous configuration parameters that affect the properties and behavior of the interpreter.
You can add preferences and customize individual values to suit your needs and the requirements of your applications.

PHP interpreter

Our servers use a special module for integrating PHP as a CGI on the web servers. Your scripts will therefore not be executed as an anonymous user such as «www» or «nobody» but, rather, with the permissions associated with your own user account.

In contrast to the commonly used «mod_php» module, the advantage here is that all files belong to your user – regardless of whether they were created by your PHP applications or whether you uploaded them via FTP.

This also allows you to conveniently change the configuration using what are known as PHP profiles for individual directories or your entire hosting account.

Selecting the PHP version

You can select the PHP version for a website or individual directory.

The options are found here:

  • «Websites» -> «Web settings» for the respective website


  • «Explorer/Web settings» -> «Web Settings for this Directory» for the desired directory.

PHP version

Customizing the configuration

Log into the Control Panel. Under «Websites», select the «Web settings» option. On the «PHP Settings» tab, you can select from a list of most frequently used options or add your own options.

You can change any option that can be changed in PHP at runtime. The configuration is saved in the .user.ini file in the document root. These options also apply to subdirectories. You can also edit the file in an editor or copy it to another document root to apply the same settings to other websites.

Available modules for PHP

In general, the following extensions are installed:

  • apcu
  • bcmath
  • bz2
  • calendar
  • Core
  • ctype
  • curl
  • date
  • dba
  • dom
  • exif
  • fileinfo
  • filter
  • ftp
  • gd
  • gettext
  • gmp
  • gnupg
  • hash
  • iconv
  • imagick
  • imap
  • intl
  • jsmin
  • json
  • ldap
  • libxml
  • mailparse
  • maxminddb
  • mbstring
  • mcrypt
  • mongodb
  • mysqli
  • mysqlnd
  • odbc
  • openssl
  • pcntl
  • pcre
  • PDFlib
  • PDO
  • pdo_dblib
  • pdo_mysql
  • pdo_pgsql
  • pdo_sqlite
  • pgsql
  • Phar
  • posix
  • pspell
  • readline
  • recode
  • Reflection
  • scrypt
  • session
  • SimpleXML
  • snmp
  • soap
  • sockets
  • sodium
  • SPL
  • sqlite3
  • ssh2
  • standard
  • sysvmsg
  • sysvsem
  • sysvshm
  • tidy
  • tokenizer
  • wddx
  • xml
  • xmlreader
  • xmlrpc
  • xmlwriter
  • xsl
  • yaml
  • Zend OPcache
  • zip
  • zlib


Unable to find what you were looking for?

Our support experts are happy to assist you personally!


© 2001 - Hostpoint AG