Contact

hs-icon-callcenter
Nous téléphoner
hs-icon-callcenter

Téléphonez-nous

Notre équipe de support vous assistera volontiers si vous avez des questions techniques ou administratives. Nous sommes ici pour vous personnellement !

 

+41 (0)84 800 80 80
(Appels depuis la Suisse 8 centimes / minute)

Hotline administrative

De lundi à samedi
9h à 12h
13h30 à 17h30
 

Hotline technique

De lundi à vendredi
8h à 17h30
Le samedi
9h à 16h

hs-icon-doc-write
Nous écrire
hs-icon-doc-write

Écrivez-nous

Afin de nous permettre de vous aider aussi rapidement et aussi bien que possible, nous vous remercions de formuler votre demande aussi précisément que possible. Vous pouvez également nous joindre à l’adresse e-mail suivante: support@hoststar.com

Tous les champs marqués d'un «*» sont obligatoires et doivent être remplis.

 

PHP version via .htaccess

Assistance > > PHP settings

We have 3 different versions of PHP installed, which we recommend to use.

The different versions can be used simultaneously in the same web.
How to use for example PHP 5.6.x in your web, is described below.

1. Available php versions

PHP 5.6.x / 7.0.x / 7.1.x (all compiled with GD)

2. php applications

If you have several PHP applications (e.g. a CMS, forum, etc.) that should run on PHP 5.6.x / 7.0.x / 7.1.x, then you can realize this with one .htaccess file each.

3. create .htaccess

Create a file with the Notepad or a similar editor (in Windows: Start - Run - "notepad" - OK) with one of the following 3 lines:

#PHP 5.6
Action php /cgi-php56/php
AddHandler php56 .php

#PHP 7.0
Action php /cgi-php7/php
AddHandler php7 .php

#PHP 7.1
Action php /cgi-php71/php
AddHandler php71 .php

Save the file under «File - Save as». The file name would be «.htaccess», the file type would be «All files» and with the encoding ANSI.

4. File upload

Now load this .htaccess file into the directory where the .php files should be interpreted as PHP 5.6.x / 7.0.x / 7.1.x.

Cet article vous a-t-il été utile?