System requirements

From TYPO3Wiki

Jump to: navigation, search

<< Typo3_Installation_Basics

Contents

LAMP/WAMP

For experienced users a well known word, for newbies maybe a source of light. With Typo3 and most other computer related issues LAMP is used as a short form of an installation setup. LAMP means:

  • Linux
  • Apache
  • MySQL
  • PHP

which means that a computer is set up with Linux as the operating system and has a running Apache server which delivers the web pages, a MySQL database server and PHP for programming purposes.

LAMP does not tell you what version needs to be installed. This is a question of the system requirements (see later in this documents). There are many flavours of Linux, e.g.

  • Debian
  • SuSe
  • RedHat
  • Mandrake
  • Gentoo

The following operating system are also considered as Linux in terms of the LAMP installation:

  • Mac OS X
  • Unix

The W in WAMP stands for Windows (what a suprise!). It basically means that it is the same setup but instead of being on a Linux computer it is on Windows computer. Since Windows has it's own webserver (IIS) you might ask why you should install Apache as the webserver. This will be covered in the next section.

Webserver

A webserver delivers (or serves) a web page. If you were to create a web page and stored it local on your computer you would be the only one to look at it. In order for other users to see your web page you need to store it on a webserver. Although you could install a webserver on your local computer and then hook up your computer to the internet and make sure other users can access your computer, it is common to have a hoster provide you with that service (see webspace, webserver).

The following information is about the minimum requirements that your LAMP/WAMP installation needs to run Typo3 successfully. Regardless if you run your own webserver, have a local installation for test and developmnet purposes or if you rent webspace, webserver etc. you have to make sure you meet the requirements for a smooth Typo3 installation.

Apache

IIS

PHP

Versions

The question of what version of PHP to use for TYPO3 is not so much about a question of what TYPO3 needs but other parts of the system, like extensions or includes, might need.

PHP 4.0.6

This version is the official minimum requirement for PHP. If you install the core system and no extensions, you should be fine.

PHP 4.3.4

For encryption related problems or certain image manipulation features you might want to use PHP 4.3.4, e.g. to use mcryp for manipulating sensitive data like social security numbers etc.

PHP 5

Known issues so far:

  • PHP5 issues an E_WARNING error if array_merge with one or more arguments that are not arrays.
  • PHP5 issues an E_FATAL error if accessing an array index on a non-array type.

As of now TYPO3 cannot be considered PHP5 compliant.

php.ini

Memory

The minimum requirement of PHP memory for the current version of TYPO3 is 16MB. The recommended memory limit is 25MB or more.

There are different approaches to how to change memory limit:

  1. Change it in php.ini
  2. Change it in httpd.conf (Apache)
  3. Change it in .htaccess (Apache)
  4. Insert a line of code inside .php files
  5. Call your provider

.htaccess

If you can not change the php.ini yourself and have your web pages on an Apache webserver this can sometimes be fixed by adding this line to .htaccess:

php_value memory_limit 16M

Inside .php files

You can sometimes use the PHP directive ini_set() to solve this. For example, put this line of code at the top of .php-files which have memory problems:

ini_set ( "memory_limit", "32M" );

Read more in the reference for ini_set() at http://www.php.net/ini_set.

Upload

Safe_mode

MySQL

Version compatibility

TYPO3-version MySQL-version Installation notes
4.0 4.1
4.0 5.0 Requires compatibility mode to be set.
Personal tools