Contact

hs-icon-callcenter
Chiamare
hs-icon-callcenter

Contattateci telefonicamente

Che abbiate questioni di carattere tecnico o amministrativo, il nostro team di assistenza sarà lieto di aiutarvi. Saremo al vostro servizio personalmente!

 

+41 (0)84 800 80 80
(Chiamate dalla Svizzera 8 cent./al minuto)

Hotline amministrativa

Dal lunedì al sabato
dalle ore 9.00 alle ore 12.00
e dalle ore 13.30 alle ore 17.30
 

Hotline tecnica

Dal lunedì al venerdì
dalle ore 8.00 alle ore 17.30
Il sabato
dalle ore 9.00 alle ore 16.00

hs-icon-doc-write
Scrivere
hs-icon-doc-write

Inviateci un’e-mail

Affinché possiamo assistervi quanto più rapidamente e al meglio delle nostre possibilità, vi preghiamo di formulare la vostra richiesta nel modo più dettagliato possibile. Siamo raggiungibili anche presso il nostro indirizzo e-mail: support@hoststar.com

Tutti i campi contrassegnati da un «*» sono obbligatori e devono essere compilati.

 

PHP version via .htaccess

Supporto > > 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.

Questo articolo è stato utile?