Base de conhecimento
1000 perguntas frequentes, 500 tutoriais e vídeos explicativos. Aqui, você encontra apenas soluções!
This guide explains how to start a content analysis of a Web Hosting to detect and clean files containing viruses and other malicious scripts that could threaten the security of websites.
Preamble
- You receive an email when the operation is complete (the antivirus scan may take some time; the Manager can be closed).
- Infomaniak ensures the protection of hostings by analyzing exclusively the folders of the sites (webroot); outside of this, no synchronous scan is performed on the rest of the hosting.
- Also consider the vulnerability detection tool to monitor potential vulnerabilities automatically corrected on your websites.
Start an antivirus analysis of the sites
To analyze potentially infected content:
- Click here to access the management of your hosting on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the hosting concerned.
- Click on Security in the left sidebar.
- Click on Antivirus in the left sidebar.
- Click on the blue button Analyze:

- Select the site(s) to analyze.
- Click on the blue button Start analysis:

- Follow the procedure until the file analysis starts.
Link para esta FAQ: https://faq.infomaniak.com/857
Esta seção de perguntas frequentes foi útil?
This guide explains how to quickly install applications, PHP extensions, and technologies (non-exhaustive list below) in a few clicks on Managed Cloud Server only.
Refer to this other guide if you are looking for information about additional Web Applications that can be installed on any type of hosting, including standard/shared offers.
Install (or uninstall) apps / PHP extensions…
To find the list of technologies and proceed with their installation:
- Click here to access the management of your Managed Cloud Server on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the Managed Cloud Server concerned:

- Click in the left sidebar:
- PHP Extensions

- Fast Installer

- PHP Extensions
- Click on the action menu ⋮ to the right of the extension you want to uninstall in the table that appears.
- Click on Uninstall.
- Otherwise, click on the blue button Install an extension / Install an application:

- Then make your choice for a new installation:

Non-exhaustive list of available apps & extensions
AdvanceCOMPBuildEssentialelectron_devExifToolFFmpeg↗ guideGhostscriptGifsicleGraphicsMagickHAProxyImagemagick↗ guideJpegoptimlibjpeg_turbolibqrencodelibX11_xcb1MidnightCommanderMemcached↗ guidemongoDB↗ guideNVM Node Version ManagerOptiPNGp7zipPDFtkPHP_APCuPHP_CLI↗ guidePHP_FPM(obsolete extension) ↗ guide for the PHP pure alternativePHP_GnuPGPHP_gRPCPHP_igbinaryPHP_IonCube↗ guidePHP_OPcachePHP_PDFPHP_PDO_ODBC↗ guidePHP_SwoolepipPngcrushPngquantRedis↗ guideRRDTool The Round Robin Database ToolRubyCompasssystemd↗ guidetesseract_ocrvarnish↗ guidevirtualenvWebPxauthxpdfxvfbZSH
Link para esta FAQ: https://faq.infomaniak.com/877
Esta seção de perguntas frequentes foi útil?
This guide explains how to contact Infomaniak Support and grant them access to your online products, particularly their content, and provide useful details when submitting a support request.
Contacting Infomaniak Support
Some email addresses, such as support@infomaniak.com, are not intended for receiving direct support requests.
Messages sent to these addresses are not processed by the teams and do not allow for tracking the request.
To ensure proper support, each request must be submitted only through the support center:
- This process generates a ticket, automatically routes the request to the relevant department, and ensures complete follow-up until resolution.
- Once the request is registered, the communication can then continue directly via email with the support team.
Before contacting support, it is also recommended to consult the knowledge base, which contains many guides and answers to frequently asked questions.
Granting Support Access to a Type of Content
Infomaniak Support may ask you to grant temporary access to a portion of your content; this saves time in the diagnosis by avoiding unnecessary back-and-forth communication:
- This access is strictly limited to the context of the analysis and is used only to identify the source of the problem:
- Only Infomaniak employees directly handling your support request.
- Access is only granted from Infomaniak's controlled facilities.
- In accordance with Infomaniak's privacy policy, your data will never be used for other purposes:
- You can revoke this access at any time.
- Otherwise, it will expire automatically after 7 days.
To allow Infomaniak to access a specific part of your services (granting access to one type of content never opens access to others; each authorization is specific and independent):
- Click here to access the access management section in the Infomaniak Manager.
- Click on the toggle switch to allow access to the content of…

- … email addresses associated with the Mail web app (online service ksuite.infomaniak.com/mail) + contacts & calendars,
- … folders within the existing kDrive accounts in the Organizations to which the current user belongs,
- … conversations within the existing kChat products in the Organizations to which the current user belongs.
With kSuite, you can also do this by clicking here or proceed as follows:
- Click on the Settings icon in the top right corner of your kSuite window.
- Click on Support in the left-hand menu:

- Click on the toggle switch to allow access to the content of…

You can also share a single specific email very easily.
Taking screenshots
… on Windows
Microsoft offers a software pre-installed that is dedicated to taking screenshots. But to do it manually:
- Display what you want/need to show on the screen.
- Press the PRINTSCREEN key on your keyboard (or
PRTSCR,IMPR. ECRAN, etc.) once. - In Microsoft Word (or similar), go to "Edit" -> "Paste" to place your image on the page.
- "Save" your file.
- Repeat the operation from step 1 to step 5 as many times as the number of screenshots desired.
… on macOS
- Press the "
CMD" + "shift" (the upward-pointing arrow — shift) + "3" keys simultaneously. - Each time you press these keys, an image file is created on your computer's desktop.
… on iOS (iPhone, iPad...)
- Press the "
Power" + "Home" buttons simultaneously (the two physical buttons). - Then, retrieve the screenshots in the "Photos" app on your device.
… on Android (e.g. Samsung, LG or Huawei)
- Simultaneously press the “Volume Down” button (on the side) and the lock button.
- The captured image is automatically saved in a Screenshots folder in your gallery.
Copying the content of an alert window
… on Windows
To copy and paste a Windows “popup” error message as text, simply press the CTRL + C keys on your keyboard to copy the message to the clipboard. You can then paste it (CTRL + V) into the body of the message you are sending.
Accessing the browser's JavaScript console
… on Windows
Chrome, Firefox, and Safari: enter the key combination CTRL + SHIFT + i
Internet Explorer and Edge: press the F12 key
… on macOS
Chrome: enter the key combination ⌘ + ⌥ + J
Safari: enter the key combination ⌘ + ⌥ + C
- Then, click on the icon with a crossed-out circle or similar to reset the log.
- Display the page of your site that is experiencing the issue.
- The console tab displays JavaScript errors and online resources that could not be found.
Link para esta FAQ: https://faq.infomaniak.com/913
Esta seção de perguntas frequentes foi útil?
This guide explains how to change the password of an FTP or FTP/SSH account for an Infomaniak Web Hosting site.
Change the password of an existing FTP user
To access the site on Web Hosting to modify its FTP access:
- Click here to access the management of your hosting on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the hosting concerned:

- Click on FTP/SSH in the left sidebar menu.
- Click on the action menu ⋮ to the right of an existing account.
- Click on Modify:

- Enter the new password that will be used for your FTP or SSH access directly.
- If necessary, you can generate a strong password.
- Confirm the changes:

Link para esta FAQ: https://faq.infomaniak.com/916
Esta seção de perguntas frequentes foi útil?
This guide explains how to change the target folder where your Website is stored on an Infomaniak Web Hosting.
Preamble
- On an Infomaniak Web Hosting, it is possible to install several Websites with their own domain name (multisite management).
- Each of these sites is stored in a folder of your hosting, which is the target of the site. It is possible to freely modify the target of a site. Example:
- The site
domain.xyzhas as a target, for example, the folder/web… - You publish a site in a new subfolder of
/webnamed, for example,/web/v2… - By modifying the target
/webof the sitedomain.xyzto/web/v2, the sitedomain.xyzwill show the content of the folder/web/v2without obviously including this path in the browser's address bar and without leaving access to any files still located in/web.
- The site
- It is recommended not to create "
v2" in a subfolder of "web" but next to it, by creating the folder at the root of your hosting. - These folders actually exist on the server, but you are not required to connect via FTP to manage them.
Display the folder of your Websites
To find the information about the folder in which your site is stored:
- Click here to access the management of your site on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the site in question.
- Then, click on the chevron to expand the Information section of this site.
- The indication highlighted below is the location of the example site:
Modify the target or folder of a Website
To manage the location of a Website within the hosting:
- Click here to access the management of your product on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the product in question.
- Click on Manage in the Advanced Settings section:

- Manage the desired location for the site.
- Click the button to Save at the bottom of the page:

Link para esta FAQ: https://faq.infomaniak.com/963
Esta seção de perguntas frequentes foi útil?
This guide helps to identify and correct 404 errors, blank pages or websites that do not display when it is impossible to reach the hosting from your browser.
Points to check absolutely
It is strongly recommended to perform the following steps:
- Check the Internet connection: visit a third-party site like https://www.ch.ch or https://www.microsoft.com. If these addresses are inaccessible, contact your Internet Service Provider (ISP) as the problem is with your connection.
- Clear the browser cache to force the page to refresh; learn more.
- Test the site's visibility by third parties: ask acquaintances outside your local network to test access or use the service https://downforeveryoneorjustme.com to find out if the site is down for everyone or just for you.
- Use a proxy to simulate a connection to your site from another geographical location.
- Check that the domain name has not expired: hosting and domain are two separate entities. Your hosting may be active at Infomaniak (check it on the Manager) while the domain has expired. Perform a WHOIS and contact the registrar if necessary.
- Consult the configuration file of your script or CMS to verify the database connection information (name, address, user, and password); learn more.
If the problem persists
Please contact Infomaniak support in writing by providing the following information:
- Name of the site concerned.
- Your public IP address at the time of the tests (available on https://www.infomaniak.com/ip).
Link para esta FAQ: https://faq.infomaniak.com/978
Esta seção de perguntas frequentes foi útil?
Este guia explica por que um site pode ficar "inoperante" ou não exibir nada após a alteração de uma senha em um Serviço de Hospedagem Web.
Conexão interrompida com o banco de dados
Quando seu site, e especialmente um script (CMS, WordPress, Prestashop ou qualquer outro aplicativo que utilize bancos de dados MySQL), não consegue mais se conectar ao banco de dados MySQL MariaDB ou outro, uma mensagem de erro pode ser exibida, como:
Erro ao conectar ao banco de dadosErro de banco de dados: Impossível conectar ao banco de dados: Não foi possível conectar ao MySQLNão é possível estabelecer a conexão com o banco de dados
Lembre-se da sua última ação…
No caso de ocorrer um erro no seu site, é sempre importante verificar o histórico recente. Neste caso, houve…
- … alguma ação da sua parte no arquivo de configuração do script em questão? Ele foi alterado, modificado ou movido?
Às vezes, a inserção involuntária de um espaço antes ou depois de uma palavra pode interromper a conexão entre o servidor web e o servidor de banco de dados. Volte atrás nas suas modificações de arquivos.
Se necessário, restaure uma versão anterior dos arquivos que você modificou recentemente.
- … uma alteração na senha do banco de dados no painel de controle Infomaniak?
Se você alterar a senha do seu banco de dados através do painel de controle Infomaniak, o seu script, que busca informações nos bancos de dados, não exibirá mais nada. Alterar algo no painel de controle Infomaniak significa que você terá que alterá-lo em todos os outros lugares. Essa alteração que você fez no painel de controle também deve ser aplicada/replicada no arquivo de configuração do script, conectando-se via FTP e modificando o arquivo adequado, geralmente "wp-config.php", "configuration.php" ou similar.
- … uma migração de servidor anunciada pela Infomaniak?
Se esse erro ocorrer após uma migração de servidor ou outra operação anunciada por e-mail e relacionada ao produto em questão, não hesite em entrar em contato com o suporte da Infomaniak.
Link para esta FAQ: https://faq.infomaniak.com/986
Esta seção de perguntas frequentes foi útil?
This guide details the management of access and security for your databases (MySQL, MariaDB, and MongoDB) on a Managed Cloud Server.
Preamble
- The firewall is accessible in your Manager even if no Apache site is configured (useful for Node.js-only projects, for example).
- Regarding access to MySQL databases from another Infomaniak Web Hosting, refer to this other guide.
- Regarding MongoDB:
- To ensure the security of your data, the system blocks registration if you attempt to disable
local_onlymode without enablingauthentication. - Infomaniak's automatic backups do not include MongoDB databases.
- To ensure the security of your data, the system blocks registration if you attempt to disable
Allow outgoing access (Infomaniak → external)
From an Infomaniak Web Hosting or Cloud Server, requests to external databases are allowed by default without port restrictions.
Allow incoming access (external → Infomaniak)
To access your databases from the outside, you must have a Cloud Server and open the corresponding ports in the firewall of your server:
- MySQL / MariaDB: port
3306(TCP) - MongoDB: port
27017(TCP)
Configure remote access for MongoDB
By default, MongoDB only accepts local connections.
Before making your instance public (remote access), you must create a user within your database.
To allow remote access via Fast Installer, you must adjust the configuration while adhering to strict security rules.
- Click here to access the management of your Cloud Server on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the Cloud Server in question.
- Click on Fast Installer in the left sidebar.
- Click on MongoDB.
- Click on the action menu ⋮ to the right of the instance and choose Configure.
- Disable the
local_onlyoption. - Enable the
authentificationoption. - Save the changes:

Link para esta FAQ: https://faq.infomaniak.com/1017
Esta seção de perguntas frequentes foi útil?
This guide details how to save data from your Web hostings (Starter, shared, or Managed Cloud Server) using the application restic via the OpenStack Swift protocol on Swiss Backup, the backup solution in an independent Swiss cloud.
Preamble
- Other solutions exist to back up your web data: refer to this other guide.
Install Restic
Prerequisites
- Use a Web hosting.
- Have a Swiss Backup Infomaniak space with available device quota (minimum 1) for a Cloud Backup.
- Add 1 device of type Cloud to obtain the OpenStack Swift parameters.
To do this:
Download the linux_amd64 binary from the restic github repository:
wget -O restic.bz2 https://github.com/restic/restic/releases/download/v0.14.0/restic_0.14.0_linux_amd64.bz2⚠️ The download link may vary with the release of a new version; version
0.14uses the default compression.Unzip the archive and make the binary executable:
bunzip2 restic.bz2 chmod +x restic
Configure Restic
Creation of an encryption key to encrypt the data
- The key cannot be changed and in case of loss the data will no longer be readable.
- Place this key in a file readable by Restic.
Example of key generation:
openssl rand -base64 16 > restickey
Configuration of restic
To configure the backup:
Create a resticconfig file with the following content to be adapted according to the information specific to your device:
echo "export OS_AUTH_URL=https://swiss-backupXX.infomaniak.com/identity/v3 export OS_REGION_NAME=RegionOne export OS_PROJECT_NAME=sb_project_SBI-XXXX export OS_PASSWORD='' export OS_USER_DOMAIN_NAME=default export OS_USERNAME=SBI-XXXX export OS_PROJECT_DOMAIN_NAME=default export RESTIC_REPOSITORY=swift:sb_project_SBI-XXXX:/ export RESTIC_PASSWORD_FILE=restickey" > resticconfOS_AUTH_URLCluster access URL for Swiss Backup (1)OS_PROJECT_NAMEandOS_USERNAMEreplace SBI-XXXX with your identifierOS_PASSWORDreplace with the password generated during activationRESTIC_REPOSITORY- replace SBI-XXXX with your identifier
- replace the
bucket namewith the name you want to give to your container that stores the backups
RESTIC_PASSWORD_FILEreplace with the full path to the file containing the encryption key
Load the Restic configuration by running the following command:
source resticconfInitialize the bucket with the following command:
./restic -r $RESTIC_REPOSITORY init
(1) The indication "//swiss-backup02", "//swiss-backup03" etc. changes depending on the cluster number indicated in the Manager under Cloud Storage Information under "Location"; and if your Swiss Backup device was created before October 2020, you will need to use https://swiss-backup.infomaniak.com/identity/v3
Backup your files
To back up your files, simply run the following command:
./restic backup
#Example: Backing up the entire hosting account
./restic backup ./
#Example: Backing up the “sites” folder
./restic backup sites/The first snapshot is long (several hours depending on the amount of data) because all files are copied while the subsequent ones will use the differential principle.
Backup databases
Restic can read data from stdin to record the output of a program.
Use the following command to back up an individual MySQL database:
mysqldump --databases db_name -u db_username -p | restic backup --stdin --stdin-filename database_dump.sql To back up all databases, run the mysqldump command to extract all databases from the server, then redirect the output to Restic:
mysqldump -u -p --all-databases | restic backup --stdin --stdin-filename all_databases.sql
List backups
To list your backups, you can use the following command:
./restic snapshots
Restore a backup
You can restore a backup with the following command:
./restic restore --target
Automate
On Cloud Server, it is possible to add a cron task to automate the launch of the backup.
On shared hosting, this option is not available.
Link para esta FAQ: https://faq.infomaniak.com/1019
Esta seção de perguntas frequentes foi útil?
This guide explains how to download or export an SSL certificate from the Infomaniak Manager.
Preamble
- The download of the certificate produces a file in
.zipformat. - The archive contains the
.keyand.crtfiles (as well as_windows.pfx&.protected.keydepending on the type of certificate):
- It is recommended to store this certificate and its private key in a secure location, as the latter could allow access to your encrypted data.
Export or download an SSL certificate
To access the management of your certificates:
- Click here to access the management of your product on the Infomaniak Manager (need help?):

- Filter your certificate types if necessary by clicking on the icon dedicated to this effect.
- Display the different types of certificates such as Let's Encrypt, Sectigo DV & EV...
- Add the certificates that need to be displayed.
- Apply the filters:

- The table now only displays the types of certificates you have selected.
Export a Let's Encrypt certificate
- Click directly on the name assigned to the certificate Let's Encrypt in the list:

- Click on the action menu ⋮ to the right of the object concerned in the table that appears.
- Choose Export the certificate and follow the instructions to download the archive to your device:

Export a Sectigo certificate
- Click directly on the name assigned to the certificate in the list of certificates.
- Click on the Manage button.
- Click on Download the certificate and follow the instructions to download the archive to your device:

Link para esta FAQ: https://faq.infomaniak.com/1034
Esta seção de perguntas frequentes foi útil?
This guide explains how to resolve access errors to your Web Hosting following an IP address change (e.g., server migration).
Preamble
- To save time, your system maintains a lookup table between domain names and IP addresses.
- If the site changes "home" (IP), your computer tries to knock on the old door.
- Clearing the cache forces it to request the new address from the DNS servers.
If your computer retains the old address in memory, clearing the DNS cache allows you to restore the connection.
Clear the DNS cache…
… on Windows
Use the command prompt to refresh your network settings:
- Open the Start menu.
- Type cmd and validate.
- In the black window that opens, type the following command and press Enter:
ipconfig /flushdns
… on macOS
On recent versions of macOS, the procedure is done via the Terminal:
- Open the Terminal (via Spotlight or Applications > Utilities).
- Copy and paste the following command:
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder - Enter your session password (it will not be displayed during entry) and validate.
… on Linux
Most modern distributions use systemd-resolved. Open your terminal and run:
sudo resolvectl flush-caches
Note: If you are using an older service, the command sudo systemctl restart nscd is still valid.
Link para esta FAQ: https://faq.infomaniak.com/1041
Esta seção de perguntas frequentes foi útil?
This guide provides solutions to errors of the type “Malicious site! The website has been reported as a malicious site and has been blocked based on your security preferences” ("STOP! This Website Can Harm Your Computer!" in English).
Who put this message?
This error message or warning…
- ... IS NOT added by Infomaniak.
- ... is generated by Google based on https://www.stopbadware.org/.
- ... may no longer appear directly because…
- ... you are no longer indexed by Google.
- ... you are using a browser that does not rely on Google's checks.
What to do?
If this does not concern the site you are managing, refer to Google's help on the subject.
If the site is yours, refer to the advice below:
- Check the source code of the published page: there is surely additional code compared to still healthy pages; it may be a malicious iframe or any inclusion…
- On the page in question, click on the "Why was this site blocked" button and follow the instructions…
- Refer to the Google documentation on the subject.
- Monitor the vulnerability detection tool which may resolve the issue in the meantime.
Link para esta FAQ: https://faq.infomaniak.com/1070
Esta seção de perguntas frequentes foi útil?
This guide helps resolve a potential error 530 by reducing the number of simultaneous FTP connections to Web Hosting.
Resolve error 530
The number of FTP connections that can be established simultaneously to the FTP space of a hosting is limited to 25.
The error message 530 Sorry, the maximum number of clients (25) for this user are already connected generally appears following multiple and simultaneous connections with an FTP software/client that poorly manages disconnections or attempts to open multiple connections at once thinking it will speed up the download.
Once you have encountered this error, you need to close the FTP program and wait 30 minutes so that the server terminates the active connections and you can reconnect.
You can also create a new FTP user and connect with it.
To avoid this situation with FileZilla, go to the menu Edit -> Settings then under the Transfers tab and set the number of simultaneous transfers to 2.
It is recommended to use the Web FTP on the Manager.
Link para esta FAQ: https://faq.infomaniak.com/1082
Esta seção de perguntas frequentes foi útil?
This guide explains how to manage the files of a Web Hosting with an FTP software/client.
Preamble
- To easily & quickly manage the files of your web hosting without having to install an application or enter FTP credentials, use the Web FTP on the Manager (it allows, among other things, CHOWN and file compression/decompression
zip). - Regarding the protocols supported by Infomaniak (FTP, SFTP, etc.) depending on your hosting offer (Starter, Node.js, etc.), refer to this other guide.
Parameters to provide for FTP software
Prerequisites
- Create an FTP/SSH account.
- Install an FTP software/client like Filezilla, Cyberduck, Commander One, Transmit, etc.
Regardless of your FTP software/client, the 3 essential parameters for configuring FTP access are always:
- Hostname: FTP server address
- Username: FTP account name
- Password: that of the FTP account

- The port number is usually left at default.
- The type and connection mode are usually left at default.
- If a limit on the number of simultaneous connections is offered, it is recommended to activate it.
Obtain the connection information to the hosting
You will find all the information on your Infomaniak Manager:
- Click here to access the management of your hosting on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the hosting concerned:

- Click on FTP (or FTP / SSH) in the left sidebar

1. FTP hostname
The hostname to use in your FTP software/client is specified at the top of the page obtained in point 3 above and an icon allows you to copy the address to the clipboard.
Starter Offer - Basic Web Page

If the specified domain is not functional (does not point to the hosting IP address, for example), then use the IP address as the host name, in the form 123.45.678.123 (refer to this other guide).
Paid Web Hosting

Use the host name in the form xyzb.ftp.infomaniak.com, for example.
2. FTP Username

The username is the name of the account to be created in your Manager: xyzb_abcdefg, for example.
3. FTP User Password

The FTP user password is set by the creator of the FTP account. If you forget it, edit the FTP account by clicking on it and set a new password.
It is not possible to display an already applied password; you must reapply a new password if you no longer have the currently defined password.
Once the connection is established…
When you enter the 3 required parameters, your FTP application should display the directory structure of your hosting:
Link para esta FAQ: https://faq.infomaniak.com/1083
Esta seção de perguntas frequentes foi útil?
This guide concerns the MySQL query cache which, when enabled, stores the results of already executed queries in memory.
Preamble
- MySQL Query Cache allows to speed up subsequent identical queries by avoiding to execute them again.
- This can improve the overall performance of the database server by reducing the load and decreasing the response time for frequent queries.
query_cache_type ON or OFF?
On Shared Web Hosting (i.e. excluding Cloud Server) MySQL Query Cache is neither enabled nor enableable.
On Cloud Server, enable MySQL Query Cache via Fast Installer.
Link para esta FAQ: https://faq.infomaniak.com/1085
Esta seção de perguntas frequentes foi útil?
This guide explains how to modify the value of the PHP directive include_path.
Modify the include_path
Like any other PHP parameter, include_path is defined in the .user.ini file.
Here is an example of a path to use in your .user.ini file:
include_path = ".:/home/clients/123456789a12345b12fc345d/web/www.domain.xyz/include"- The dot (
.) at the beginning allows you to keep the current directory in the search. - The colon (
:) is used as a separator between the different folders.
Refer to this other guide about phpinfo to verify that your new directive has been taken into account (the modification may take a few minutes to appear).
Although this method is still functional, using theautoloader of Composer is now the preferred solution for managing inclusions.
Link para esta FAQ: https://faq.infomaniak.com/1108
Esta seção de perguntas frequentes foi útil?
This guide shows you how to modify the error_reporting() directive on your website.
Enable error reporting
Enter the following 2 pieces of information in your .user.ini file:
display_errors=on
error_reporting=E_ALL & ~E_NOTICE & ~E_STRICTIf your browser does not display any errors or warnings, then there are none.
Disable PHP error display
For WordPress, edit the wp-config.php file and replace the line:
define('WP_DEBUG', false);with:
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=offLink para esta FAQ: https://faq.infomaniak.com/1115
Esta seção de perguntas frequentes foi útil?
This guide is intended for developers and webmasters experiencing issues with the display of special characters (e.g., accents, Arabic characters, Chinese characters, emojis, etc.), whether on an Infomaniak website or in its database.
Preamble
- Common causes of incorrectly displayed characters that appear in place of special characters or emojis like
??:- PHP connection in
utf8instead ofutf8mb4 - MySQL table or column in
latin1orutf8instead ofutf8mb4 - SQL file encoded differently from the import parameter
- HTML/CSS/JS files incorrectly encoded
- Missing or incorrect declaration of the charset in HTML, PHP, or HTTP
- PHP connection in
- Common solutions:
- Use
utf8mb4everywhere: database, connections, tables, columns, files, headers - Validate the encoding of all files and dumps
- Test the display of emojis, accents, and other multilingual characters
- Use
- Also refer to this other guide to force another encoding when connecting to a MySQL database.
Use a text editor that supports saving in UTF-8 without BOM (Visual Studio Code, Sublime Text, Notepad++...)
1. Use UTF-8 or UTF-8MB4 everywhere
The utf8 encoding of MySQL does not support 4-byte characters, such as emojis. These will display as ??. Therefore, you need to use utf8mb4, which is a complete implementation of UTF-8.
2. HTML – Correct declaration of encoding
In the <head> of your HTML pages:
<meta charset="UTF-8">Also ensure that CSS/JS files are saved in UTF-8 (without BOM).
3. PHP – Force UTF-8 or UTF-8MB4
a) HTTP headers
header('Content-Type: text/html; charset=utf-8');b) MySQL connection (MySQL API)
$connection = mysql_connect($host, $user, $pass);
mysql_set_charset('utf8mb4', $connection);c) PDO connection
$dsn = "mysql:host=localhost;dbname=ma_base;charset=utf8mb4";
$pdo = new PDO($dsn, $user, $pass, [
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION
]);4. MySQL database
a) Configuration in phpMyAdmin
- Database, tables, and columns must be in
utf8mb4_unicode_ciorutf8mb4_general_ci. - In the Operations tab, choose
utf8mb4_unicode_cifor the collation.
b) Useful SQL commands
ALTER DATABASE ma_base CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci;
ALTER TABLE ma_table CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;c) After PHP connection
mysqli_query($conn, "SET NAMES 'utf8mb4'");
mysqli_query($conn, "SET CHARACTER SET 'utf8mb4'");5. .user.ini / .htaccess
To force server-side (Apache) encoding:
AddDefaultCharset utf-8
Header set Content-Type "text/html; charset=utf-8"
# Pour PHP
php_value default_charset UTF-8
php_value mbstring.internal_encoding UTF-86. SQL dump import / export
Errors such as é becoming ? or an emoji ☺ becoming ?? often come from encoding misalignment.
Check the SQL file encoding before import. Use iconv if necessary:
iconv -f ISO-8859-1 -t UTF-8 dump.sql > dump_utf8.sqlIn phpMyAdmin, specify the import encoding (e.g., UTF-8, UTF-8MB4 or latin1 depending on the file).
Link para esta FAQ: https://faq.infomaniak.com/1124
Esta seção de perguntas frequentes foi útil?
Este guia explica como usar o gerenciador de arquivos Web FTP, que permite gerenciar de forma simples e rápida o conteúdo de seus Serviços de Hospedagem Web.
Introdução
- O serviço online Web FTP / Gerenciador FTP não requer acesso especial, desde que você tenha os direitos de gerenciamento de uma hospedagem presente no Gerenciador Infomaniak e esteja conectado a ele.
- Portanto, não é necessário ter uma conta FTP e sua senha; a senha da conta Infomaniak é suficiente.
- Isso permite:
- criar arquivos,
- navegar pelos diretórios,
- manipular arquivos existentes (copiar, renomear, mover, excluir, descompactar…),
- editar e visualizar arquivos de texto, PHP e HTML com menos de 1 MB,
- transferir arquivos com menos de 50 MB entre seu computador e o servidor:

- incluindo por arrastar e soltar diretamente do computador para a janela Web FTP:

- para ir além desse limite e para possibilidades de trabalho em segundo plano, retomada de transferências após interrupção, limitação de taxas, etc., use um software/cliente FTP.
- incluindo por arrastar e soltar diretamente do computador para a janela Web FTP:
Acessar o servidor via Web FTP
Para acessar rapidamente o servidor do site via FTP ou SSH:
- Clique aqui para acessar o gerenciamento de sua hospedagem no Gerenciador Infomaniak (precisa de ajuda?).
- Clique diretamente no nome atribuído à hospedagem em questão:

- Clique em FTP / SSH no menu lateral esquerdo.
- Clique nos botões
Web FTPouConsole SSHdisponíveis:
Link para esta FAQ: https://faq.infomaniak.com/1130
Esta seção de perguntas frequentes foi útil?
This guide explains how to optimize a website hosted on a Web Hosting service to make it faster and provide a smooth navigation experience for all your visitors, regardless of their connection speed.
The role of the host
The loading speed of a website depends on many factors: server performance, host network infrastructure, visitor's internet connection, and site optimization itself.
As a host, Infomaniak strives to offer the best in hosting by continuously evolving its products and infrastructure:
- All hosting services run on the latest generation of SSD drives.
- The infrastructure benefits from over 70 Gbit/s of interconnection and redundancy with partners like Cogent or Level3.
- To handle traffic spikes, servers use regularly renewed 64-bit Intel Xeon processors. Shared servers use, on average, only 40% of their CPU power.
When you submit a support request regarding slowness, Infomaniak checks the following points:
- Your hosting server is functioning normally and has not encountered any incidents in the last 48 hours.
- The network infrastructure has not experienced any disruptions during this same period.
The role of the site owner and the webmaster
Infomaniak does not intervene on the content of the servers or the development of the sites. The creation and maintenance of a site are distinct professions, although they use the tools and services provided by the host.
Analyze the cause of slowness
Here are the actions to take if you notice slowness on your site:
- Apply the Google PageSpeed Insights recommendations. These points concern the design of the site and not the server configuration. Refer to this other guide if the test recommends enabling resource compression.
- If slowness is noticed from abroad, activate DNS Fast Anycast.
- Install a caching system to reduce redundant database accesses and speed up display.
- Consider using a CDN.
- Test the server response time or TTFB.
- Scan your hosting to detect any potential viruses.
- Purge your databases regularly by deleting unnecessary entries.
- Use the latest PHP version compatible with your site or CMS.
- Avoid images, counters, or media hosted on external servers: if they are unreachable, your site will appear slow.
- Deactivate unnecessary or resource-intensive WordPress extensions.
- Keep your CMS and web applications regularly updated.
- Limit the impact of overly aggressive indexing robots by configuring a Crawl-delay.
- Analyze the error-logs: correcting the errors generated by your site improves its performance.
- Review the slowlogs to identify SQL queries taking more than 5 seconds to execute and optimize them (optimization examples).
- Add a server cache engine like Memcached (available on Cloud servers only).
- Increase the max_children value (only on Cloud servers).
If the problem persists
If you or your webmaster cannot find the source of the slowdowns, contact Infomaniak support in writing by providing the following information:
- Name of the hosted site.
- Exact dates and times of the slowdowns.
- Name of the database or FTP account potentially involved.
- Your public IP address during tests (visible on https://www.infomaniak.com/ip).
- Type of slowdown (display, FTP transfers, etc.).
- Indicate if you can normally access the Infomaniak site during these episodes.
- Complete result of a traceroute to
84.16.66.66. - Result of a speed test on speedtest.net by selecting Infomaniak as the destination server.
If your needs evolve
If shared hosting is no longer sufficient, consider switching to a Managed Cloud Server. Your site can be easily migrated to take advantage of dedicated resources and advanced caching technologies.
Link para esta FAQ: https://faq.infomaniak.com/1137
Esta seção de perguntas frequentes foi útil?