This is historical documentation for our existing web hosting customers from 2012 or earlier, relating to websites created until 1 September 2014.
We have provided PHP 5.3 since January 2012. Older websites were upgraded between 1 June 2012 and 28 August 2012.
Here is a brief blow-by-blow summary of what we consider important differences between wethobels from 2011 and earlier, which were based on PHP 5.2, and the PHP 5.3-based websites. We still use suPHP
as a framework, not mod_php
.
General differences
- We permit users to have their own
.user.ini
to simplify certain PHP configuration changes.
- Personalized
php.ini
for PHP 5.3 is incompatible with PHP 5.2 and PHP 5.5.
- 64-bit operating system - this will have few noticeable consequences, but it could affect any extensions you wish to install yourself, or software you compile yourself.
- More powerful servers with higher capacity.
Security
Developers and programmers
Developers and programmers should study the PHP 5.3 migration guide, and pay special attention to the following sections:
Paths to software and libraries
Some paths have been changed. Earlier servers provided symlinks in /usr/local
to system software, to maintain backward compatibility with the setup on our pre-2005 webserver configurations. If you have old software, old cron jobs etc., these may fail by e.g. using the wrong path, if they presume that /usr/local
is the place you find e.g. PHP or Perl (/usr/bin/php5
, /usr/bin/perl
).
/usr/local/bin
is generally not in use anymore, and the same goes for /usr/local/php
and similar paths. All regular software is now in the system path, that is in /usr/bin
, /etc/php5
etc.
Self-compiled software
If you have compiled or built software yourself and experience problems, we recommend that you recompile and test that it works on the new login server.
The login server (Unix shell) shell.domeneshop.no
PHP versions on the login server
The login server shell.domeneshop.no
only provides PHP version 5.3.
Resource limitations
The memory limit for PHP is increased from 128 MB to 256 MB. Use this carefully, high memory usage means things go slower.
The limits on resource usage are, as a general rule, the same on the login server as on the webhotel servers, but the login server has fewer CPUs and less RAM. Be considerate.