burger
infomaniak
infomaniak
cloud-computing-logo
Cloud Computing
web-domain-logo
Web & Domains
event-marketing-logo
Events & Marketing
  • Our products
    • Collaborative tools icon chevron
    • Web & Domains icon chevron
    • Cloud Computing icon chevron
    • Events & Marketing icon chevron
    • Streaming icon chevron

      ksuiteCollaborative suite

      Discover the collaborative suite โ†’ Discover โ†’
    • kSuite Professional email, sovereign cloud and AI for sustainable performance
    • kSuite The suite for secure communication, storage and sharing
    • kdrive
      kDrive Store, collaborate and share your files
    • mail service
      Mail Service Create your email addresses with your domain
    • kChat
      kChat Communicate live with your teams
    • kmeet
      kMeet Organise your meetings online in complete security
    • swisstransfer
      SwissTransfer Send your files up to 50 GB free of charge.
    • kpaste
      kPaste Share and encrypt your sensitive information
    • ksuite
      Custom Brand Control the brand image of your products
    • kChat
      Chk Link reducer & QR code generator
      Find the web hosting solution you need
    • Domain name
      Domain name Reserve your domain name at the best price
    • Site Creator
      Site Creator Create your website with ease
    • web hosting
      Web Hosting Create your website with over 100 CMS
    • web hosting
      Wordpress Hosting Create your WordPress website easily
    • Cloud Server
      Cloud Server Power up your sites with guaranteed resources
    • Node.js Hosting Create a dynamic, interactive site with Node.js
    • SSL Certificat
      SSL certificates Secure your websites with an EV or DV certificate
    • Options
    • Domain privacy
      Domain Privacy Protect your domainsโ€™ private data
    • DNS Fast Anycast
      FastAnycast DNS Speed up your site access times
    • Dyn DNS
      DynDNS Access your devices remotely
    • Dyn DNS
      Renewal Warranty Secure your domains against loss and theft
      Find the right Cloud Computing solution

      Cloud services

    • public cloud
      Public Cloud (IaaS) Create your projects in a high-end, ultra-competitive Cloud
    • Cloud Server
      VPS Cloud Create a Windows / Linux server
    • Kubernetes service Deploy your containerised apps on a large scale.
    • VPS Lite
      VPS Lite Create a Windows/Linux server at a low cost
    • Database Service Manage your databases with a managed solution
    • jelastic cloud
      Jelastic Cloud (PaaS) Create your own customised environments
    • Other services

    • llm api
      AI Tools Boost your productivity with our sovereign AI
    • swiss backup
      Swiss Backup Back up your devices in the Cloud
    • nas synology
      NAS Synology Rent a NAS in our secure data centers
    • High availibility
      Very High Availability Create a multi-data center infrastructure with customised SLAs
    • Housing
      Housing Install your servers in our data centers
    • Auth Add a privacy-friendly login method to your apps
      Infomaniak Events, the independent local events portal
      Online ticketing service with a wide choice of concerts, shows and events.
    • online shop
      Ticketing Create your ticketing service and sell tickets
    • kdrive
      Access Control Control access to your events with ease
    • kdrive
      Guest manager Automate your event invitations
    • kdrive
      Newsletter Send your newsletters at competitive prices
    • Streaming radio
      Streaming radio Create and broadcast your own live radio station online
    • streaming video
      Video-Streaming Create and broadcast live events and TV online
    • VOD and AOD
      VOD & AOD service Host and broadcast your recordings without limits
  • Resources
    documentation icon Documentation
    Guides & tutorials
    API documentation
    special offers icon Special offers
    Get started for free
    Student programme
    Become an affiliate
    partner program icon Partner programme
    Find a partner
    Become a partner
    support icon Support & contact
    Contact Support
    Premium support - 24/7
    Contact our sales department
    Hiring an expert
    Migrate to Infomaniak
  • About us
    forest
    icon Ecological commitment
    We pollute. But we are taking action to reduce the footprint of our services and infrastructure
    Discover our commitment โ†’
    icon About Infomaniak
    Our vision, our values
    Our teams
    Infomaniak is recruiting
    Press and communication
    Blog and news
    icon Security
    Data confidentiality
    Bug Bounty Programme
  • Get started for free
    Sign in
  • search-icon
    close-icon
      icon

      Would your needs exceed our solutions? To find out, contact us so that we can advise you personally.

      Our flagship products:
  • search-icon
  • Get started for free
    Sign in
Price Price

Knowledge base

1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!

Knowledge base FAQ - Knowledge base Page 15/1
    10 FAQ(s) found
    Manage the display of PHP warnings / errors

    This guide shows how to modify the error_reporting() directive on your website.

     

    Enable error reporting

    Specify the following 2 pieces of information in your .user.ini file:

    display_errors=on
    error_reporting=E_ALL & ~E_NOTICE & ~E_STRICT

    If your browser does not display any errors or warnings, then there are none.

     

    Disable PHP error display

    For WordPress, edit the file wp-config.php and replace the line:

    define('WP_DEBUG', false);

    by:

    ini_set('display_errors','Off');
    ini_set('error_reporting', E_ALL );
    define('WP_DEBUG', false);
    define('WP_DEBUG_DISPLAY', false);

    Otherwise, you can add the following code to the .user.ini file:

    display_errors=off


    Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Download a complete website

    This guide helps you download all the data related to your website hosted by Infomaniak.

     

    Preamble

    • Automatic backups are performed daily on Infomaniak installations.
    • However, you can download a clean and personal version of your website to secure it on your local installation, USB key, .zip archive on kDrive, etc.
    • To download a site created with WordPress, refer to this other guide specific to 2 extensions allowing for local backup of information.
    • With the exception of Site Creator, the data of a website hosted by Infomaniak are accessible and visible on the server via an FTP connection (which means that to create a backup of the data, you simply need to download the content of the parent folder on the server).
    • All that will remain is to add a backup of the database of the site (which contains information that is not listed in the files accessible via FTP).

     

    Site Location

    When you arrive in the folder tree on the server, it will not always be easy to know where to go to download the information related to the site you are interested in.

    Start by noting the exact location of the site you want to download, by going to manager.infomaniak.com on the site's dashboard within your Web Hosting:

    The highlighted indication above is the location of the example site. Check yours!

     

    Connecting to the server

    To access the server, you need to use an FTP software/client or the quick Web FTP access which is suitable in most cases:

     

    Site Download

    When you arrive on the Web FTP, you need to go to the location noted in the first chapter above, and click on the download icon to the right of the folder corresponding to your site:

     

    The download starts and you obtain a .zip archive with all the files making up your website (except for files beginning with a "." like .htaccess).

     

    Downloading the database

    In most cases, your site uses a database to function. You should therefore download it as well.

    To do this:

    1. Click on Databases in the left sidebar.
    2. Click on the action menu โ‹ฎ located to the right of your database name (if you are not sure which one to take, repeat the operation for each of them).
    3. Click on Download:

    You will need to confirm the download (or export) of the most recent correct file in the next step to obtain a .sql.gz file that corresponds to all the tables in your database, which you should keep safely. The download link is sent by email.



    Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Install ionCube Loader

    This guide concerns IonCube Loader, a PHP module that allows decoding PHP scripts that have been encoded with IonCube Encoder.

     

    Preamble

    • IonCube encoding is used to protect an application's source code and prevent its unauthorized modification or distribution.
    • By using IonCube Loader, website owners can ensure the security of their code and content while allowing for secure and easy distribution of their applications.

     

    Using ionCube Loader

    With shared hosting it is no longer offered. You can check this from the dashboard:

    1. Click here to access the management of your product on the Infomaniak Manager (need help?).
    2. Click directly on the name assigned to the relevant product:
    3. Click on Manage under Advanced Settings:
    4. Click on the PHP Extensions tab.
    5. Click on ionCube Loader (if present in the list) to see the details:
      • Here you should consider a Cloud Server.


    Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Use mod_rewrite

    The module Apache "mod_rewrite" is enabled by default.

    However, it is only supported at Infomaniak through a .htaccess file; moreover, care must be taken to ensure that the path regular expressions do not start with "/".

    Regarding the virtual host (vhost), Infomaniak does not provide access to its configuration and makes no modifications.



    Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Use PDF libraries

    This guide details the software libraries for handling the PDF format and compatible with the various web hosting offers.

     

    Foreword

    • PHP PDF extensions allow, among other things, to generate a PDF from dynamic data for creating customized invoices, for example.

     

    PDF and Cloud Server

    On Serveur Cloud, you can install apps like PDFtk โ€ฆ

    • The PHP class FPDF is supported.
    • PDFlib from the publisher Apryse is no longer offered on the most recent Serveurs Cloud because the PHP_PDF extension has become paid. If you obtain it, you will need to install it on VPS Cloud / VPS Lite or Public Cloud.
       

    On shared hosting, ImageMagick is active and supports the EPDF, PDF and PDFA formats.



    Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Manage ModSecurity on a hosting account

    This guide concerns the configuration and management of ModSecurity on Infomaniak servers. By understanding its limitations, restrictions, and effectively managing errors, you can optimize the security of your site while maintaining its functionality.

     

    Default configuration

    ModSecurity (mod_secure) is available and enabled by default on the Infomaniak servers. This means that all HTTP requests will be subject to the security rules defined by ModSecurity.

    It is not possible to disable ModSecurity on Infomaniak servers. The setting is global to the server where your site is hosted, which means that all defined security rules will be applied to your site.

     

    Error management

    If the error message ModSecurity: Access denied with code 403 (phase 2). Operator EQ matched 0 at REQUEST_HEADERS. (...) appears regarding ModSecurity, you should check that a default language is properly configured in your web browser. This error can sometimes be caused by incorrectly configured language settings in the browser.

    The PHP uploadprogress is not available on the servers, as PHP is used in its FPM version.


    Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Implementation of the header "X-Frame-Options

    This guide details the "X-Frame-Options" header, which can be used to protect against clickjacking attacks. Note that the "X-Frame-Options" header may not be supported by all web browsers. It is therefore recommended to combine it with other methods to enhance the security of your website.

     

    Possible values for the header

    โ€The "X-Frame-Options" header can be set to prevent a website from being loaded in a frame or iframe. There are three possible values for this header:

    1. "DENY": the website cannot be loaded in a frame or iframe
    2. "SAMEORIGIN": the website can be loaded in a frame or iframe only if the source of the frame or iframe belongs to the same domain as the website
    3. "ALLOW-FROM uri": the website can be loaded in a frame or iframe only from the specified URI

    You can set this header by adding the following lines to your .htaccess file:

    Header set X-Frame-Options "DENY"

    or by using the header() function in PHP, as it is executed in FPM, in the same way as when disabling HSTS, for example:

    header('X-Frame-Options: DENY');

    Replace "DENY" with the desired value for this header.



    Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Manage the default created robots.txt file

    This guide provides information about the robots.txt file automatically created for Web hosting where this file is missing.

     

    Preamble

    • The robots.txt file acts as a guide for search engine crawlers
    • It is placed at the root of a website and contains specific instructions for these robots, indicating which directories or pages they are allowed to explore and which they should ignore
    • However, robots may choose to ignore these directives, making the robots.txt a voluntary guide rather than a strict rule

     

    File Content

    If the robots.txt file is missing from an Infomaniak site, a file with the same name is automatically generated with the following directives:

    User-agent: *
    Crawl-delay: 10

    These directives tell robots to space out their requests by 10 seconds, which helps to avoid unnecessarily overloading the servers.

     

    Bypassing the default robots.txt

    It is possible to bypass the robots.txt by following these steps:

    1. Create an empty robots.txt file (it will serve only as a placeholder so that the rules do not apply).
    2. Manage the redirection of the URI (Uniform Resource Identifier) robots.txt to your chosen file using a .htaccess file.

     

    Example

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_URI} /robots.txt$
    RewriteRule ^robots\.txt$ index.php [QSA,L]
    </IfModule>

    Explanations

    • The mod_rewrite module of Apache is enabled to allow redirections.
    • The condition RewriteCond %{REQUEST_URI} /robots.txt$ checks if the request concerns the robots.txt file.
    • The rule RewriteRule ^robots\.txt$ index.php [QSA,L] redirects all requests to robots.txt to index.php, with the option [QSA] that preserves the query parameters.

    It is recommended to place these instructions at the beginning of the .htaccess file.



    Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Understand Web transfer protocols

    This guide details the file transfer protocols accepted on the Web Hosting and Cloud Server Infomaniak when connecting to ProFTPD servers.

     

    Preamble

    • With a Starter hosting (basic web page), only an FTP connection on port 21 (without SSL/TLS) is possible.
    • When creating a website via Apache / PHP hosting, file access is possible through various protocols (FTP, SFTP, SSH).
    • With a Node.js site, only SSH / SFTP are possible to access your environment.

     

    FTP (File Transfer Protocol)

    FTP connections in "active" and "passive" modes are supported (alternate between the two to try to resolve any potential issues).

    Infomaniak opens passive ports on its side [PassivePorts 42000 44000] but only for connections to **its** FTP server. Passive FTP mode involves the use of remote ports defined by the remote server, as well as local ports that may vary depending on the FTP software/client used.

    The passive mode is primarily useful when the FTP software/client is behind a firewall or a NAT router that blocks active FTP connections. However, active FTP connections are allowed within the Infomaniak infrastructure, which means that resorting to passive mode is generally not necessary.

    As for PHP, it is not possible, by default, to manage this configuration in a centralized manner. Therefore, it is not feasible for Infomaniak to open all ports to support all remote configurations, as this would be neither practical nor secure.

    Overall, the infrastructure does not fully support outgoing passive mode FTP connections. For a smoother file transfer experience, it is recommended to use active mode FTP or explore more modern technologies such as SFTP (read below).

     

    SFTP (SSH File Transfer Protocol)

    Creating SFTP connections ensures high security for file transfers. Make sure you have enabled SSH on your SFTP software/client and use port 22 for the connection: sftp://*****.

     

    FTPES (FTP secure with TLS/SSL)

    Use FTPES for secure file transfers with port 21 and SSL/TLS encryption. With the Filezilla software, for example, select "Explicit FTP over TLS" to configure your FTPES software/client: ftpes://*****.

     

    FTP access

    Access to the FTPaccess configuration is available.

     

    What is not supported

    Public/Anonymous User

    It is not allowed to connect as a public or anonymous user. You must have a valid user account to access your hosting space.

    FTPs (secure FTP on a custom port)

    The FTPs protocol is not supported, which means that port 2121 is not open for this type of connection.



    Updated 27.06.2025 Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Install ownCloud (or Nextcloud) in a few clicks

    This guide explains how to install ownCloud (or Nextcloud which is an improved version of Owncloud) in a few clicks on the Web Hosting paid offers.

     

    Preamble

    • A cloud system (storage, synchronization, and file sharing) also exists independently of your hosting products: kDrive Infomaniak
    • OwnCloud is part of the applications (not developed by Infomaniak) and allows the implementation of a file storage & sharing system within a "cloud" that you fully control (user management, permissions, quotas, associated mobile applications, etc.).
    • Unlike other hosts, Infomaniak allows the use of ownCloud on its hosting:
      • Personal use is allowed on shared web hosting.
      • For intensive and professional use, it is recommended to opt for a Cloud Server to install ownCloud or Nextcloud.

     

    Install ownCloud

    Prerequisites

    • Have a Infomaniak Web Hosting (order if necessary).
    • Add a blank website to the Infomaniak hosting.
    • Upgrade the Databases section if necessary (especially for Nextcloud)

    To access Web Hosting and install an application:

    1. Click here to access the management of your product on the Infomaniak Manager (need help?).
    2. Click directly on the name assigned to the relevant product.
    3. Click on the Add an app button:
    4. Choose the desired application (if necessary, filter and search).
    5. Click on Select:
    6. Click at the bottom of the page on Next.
    7. Leave the default location or choose to install the app in a new folder that you can create using an icon visible to the right of point 8 in the image.
    8. Optionally, choose to install an earlier version if necessary.
    9. Click on the Next button:
    10. Set the username and password.
    11. Specify certain advanced settings if necessary (backup type, among others).
    12. Review and accept the terms of use of the selected app.
    13. Click on the Next button:
    14. Confirm the installation of the application in the next step and wait:
      • Take note of any error message on the screen if, for example, the chosen installation folder is not empty or if the PHP version of the site on which you are attempting the installation is not compatible.


    Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Display more results If you cannot find an answer, contact us
    logo infomaniak
    Prices do not include VAT
    facebook
    twitter
    linkedin
    instagram

    Infomaniak

    About Infomaniak The team Infomaniak is recruiting Press space Infomaniak blog All certificates Products and offers Clients' opinions

    Support

    Assistance 7/7 FAQ and guides Premium Support Sales contact API REST Report abuse WHOIS Statuts Public Cloud Service status

    Partnerships

    Become a reseller Affiliate programme Directory of partners Requests for quotes

    Ecology

    Green hosting Certificates & awards

    Follow our development

    The email entered is invalid
    earth icon
    • EN
      • EN
      • DE
      • ES
      • FR
      • IT
    ยฉ2025 Infomaniak - Legal documents - Legal notice - Data Protection - Privacy Policy - Site map - Manage your cookies
    bcorp-logo
    icann-logo
    swiss
    new-iso
    swiss-hosting
    logo infomaniak
    Prices do not include VAT

    Infomaniak

    About Infomaniak The team Infomaniak is recruiting Press and media Infomaniak blog All certificates Products and offers Clients' opinions

    Support

    Assistance 7/7 FAQ and guides Premium Support offer Sales contact API REST Report abuse WHOIS Statuts Public Cloud Service status

    Partnerships

    Become a reseller Affiliate programme Directory of partners Requests for quotes

    Ecology

    Green hosting Certificates & awards

    Follow our development

    The email entered is invalid
    bcorp-logo
    icann-logo
    swiss
    new-iso
    swiss-hosting

    facebook
    twitter
    linkedin
    instagram
    ยฉ2025 Infomaniak
    Contracts - Legal notice - Data Protection - Privacy Policy - Site map - Manage your cookies

    Managers

    earth icon
    • EN
      • EN
      • DE
      • ES
      • FR
      • IT
    Your browser is outdated, security and browsability are no longer guaranteed. We recommend that you update it as soon as possible by clicking here.