We are happy to help you!
Our technical support is available to you from Monday to Saturday from 9 a.m. to 12 midday and 2 p.m. to 5 p.m. You can of course send us your questions by email. Emailed support questions are also viewed at the weekend and answered promptly according to the degree of urgency.
PHP - Available PHP versions
There are 3 different versions of PHP installed at Hoststar.The different versions can be used at the same time on a website. This section describes how to use, for example, PHP 5.2.x in your website.
- PHP 4.3.x
All php files in a website are interpreted with PHP 4.3.x
- PHP 5.0.x
To use the version PHP 5.0.x, you must change the file name of "my_php_file.php" to "my_php_file.php5"
If you have several PHP files (a CMS, forum, etc.) that should run on PHP 5.0.x, then you could also use the variation with an ".htaccess" file.
Using Notepad (in Windows: start – Run – notepad – OK) or a similar text editor, create a file with the following contents:
Action php /cgi-php5/php
AddHandler php5 .php
Save the file with "File" – "Save As...". The filename should be ".htaccess", the file type should be "All Files".
Now load the ".htaccess" file into the folder in which the .php files should be interpreted as PHP 5.0.x. Like this, you do not have to rename every file or alter the path details in the scripts.
- PHP 5.2.x
To use the version PHP 5.0.x, you must change the file name of my_php_file.php to my_php_file.php52.
If you have several PHP files (a CMS, forum, etc.) that should run on PHP 5.2.x laufen sollten, then you could also use the variation with an ".htaccess" file.
Using Notepad (in Windows: start – Run – notepad – OK) or a similar text editor, create a file with the following contents:
Action php /cgi-php52/php
AddHandler php52 .php
Save the file with "File" – "Save As...". The filename should be ".htaccess", the file type should be "All Files".
Now load the ".htaccess" file into the folder in which the .php files should be interpreted as PHP 5.2.x. Like this, you do not have to rename every file or alter the path details in the scripts.
- PHP 5.2.x compiled with GD
Important: This version is not available on all servers, but can be installed on request. Some web applications require this special version of PHP, which was compiled with GD.
To use the PHP version 5.2.x GD, you would have to change the file name of my_php_file.php to my_php_file.php52gd.
If you have multiple PHP files (e.g. a CMS, forum, etc.) which should run on PHP 5.2.x GD, then you could also use the method with an .htaccess file.
Create a file with notepad or a similar editor (Windows: Start - Run - "notepad" - Ok) containing the following:
Action php /cgi-php52gd/php
AddHandler php52gd .php
Save the file using "File - Save As". The file name would be ".htaccess", the file type "All Files".
Now load the ".htaccess" file into the folder in which the .php files should be interpreted as PHP 5.2.x GD. Like this, you do not have to rename every file or alter the path details in the scripts.
- PHP 5.3.x
Important: This version is not available on all servers, but can be installed on request. The PHP version 5.3.x is only recommended for web applications, which support or explicitly require PHP 5.3.x.
To use the PHP version 5.3.x, you would have to change the file name of my_php_file.php to my_php_file.php53.
If you have multiple PHP files (e.g. a CMS, forum, etc.) which should run on PHP 5.3.x, then you could also use the method with an .htaccess file.
Create a file with notepad or a similar editor (Windows: Start - Run - "notepad" - Ok) containing the following:
Action php /cgi-php53/php
AddHandler php53 .php
ave the file using "File - Save As". The file name would be ".htaccess", the file type "All Files".
Now load the ".htaccess" file into the folder in which the .php files should be interpreted as PHP 5.3.x. Like this, you do not have to rename every file or alter the path details in the scripts.
We will be happy to answer further questions:
Administrative Questions:order@hoststar.ch
Technical Questions:
Email: support@hoststar.ch





















