Kunnskapsbase

Enabling PHP 7

All customers on Surftown's Linux hosting packages are able to enable PHP 7 for their web sites. PHP 7 is the latest version of PHP, and it features large performance improvements and several new exiting features.

The PHP developers have gathered information regarding the upgrade here:
http://php.net/manual/en/migration70.php

Enabling PHP 7

In order to enable PHP 7 you need to modify your web site's .htaccess file. The file is usually in the root of your domain directory. Modifying a .htaccess file in the root directory of the hosting account may affect all web sites on that account. It can, however, be overridden by other .htaccess files further down the directory structure.

The following string needs to be added to the top of your .htaccess file:
AddType application/x-httpd-php7 php

Furthermore, you also need to remove or comment out any other AddType directives dealing with .php files.


If you would like Surftown to preform this task for you, or if you are in need of any other assistance, please have a look at the paid services we kan offer through our Service Desk Services: https://www.surftown.com/da/service-desk/
Kontakt
Should you not find what you are looking for then feel free to ask our support

Create A Ticket
Service Desk
Står du med en større udfordring, som kræver lidt mere ekspertise og tid end du har til rådighed?

Surftown Service Desk, er en service hvor vi foretager arbejdet for dig. Vores Service desk klarer opgaven for dig.

Gør det for mig