I need to use a different version of PHP

You can easily set the prefered PHP version via the .htaccess.

Most of our servers use the PHP version 5.2.x
In order to change the version to 5.3x, add the following line to your .htaccess  (if the file does not exist you have to create it):

# Use PHP 5.3
AddType application/x-httpd-php53 .php

If the above does not work you have to check the .htaccess file in your home folder (not in the public html) and remove the following lines:

# Use PHP5 as default
AddHandler application/x-httpd-php5 .php

<IfModule mod_suphp.c>
    suPHP_ConfigPath /home/epithimo/php.ini
    <Files php.ini>
        order allow,deny
        deny from all
    </Files>
</IfModule>


If you see that your server uses the version 5.3x probably the setting in the .htaccess has been preset. If you need the version 5.2.x, open the .htaccess file and delete the lines:

# Use PHP 5.3
AddType application/x-httpd-php53 .php


If you have further questions on this, please open a support ticket or contact us.

 

 

Σας βοήθησε αυτή τη απάντηση;

Επίσης Διαβάστε

Can I downgrade my hosting plan?

Yes! But there is not money refund. So if you purchase a hosting plan and you later...

How can I submit my website to search engines?

This page tells you exactly how to do directory registrations and search engine registrations...

How Do I Connect to My Server via SSH?

Windows To access SSH: Download WinSCP or PuTTY. Enter your IP address and the appropriate...

PHP settings that can not be changed

safe mode = Off (cannot adjust) memory_limit = 256M (MAXIMUM) max_execution_time = 30...

How long does it take to create a Hosting Plan?

All our hosting plans are activated instantly after the payment.If you choose to pay via Wire...