Requirements

From TomatoCMS Documentation

Jump to: navigation, search

TomatoCMS uses PHP, MySQL and Apache web server

PHP

Requires PHP 5.2 or newer and following extensions:


I will include the steps for ubuntu. If you're using another *nix distro, it should be pretty easy for you to adapt this.

sudo su type in your password NOTE: You are now root and *nix boxes assume that you know what you're doing. If you're not comfortable with this you can just put sudo in front of every line.

aptitude install apache2 libapache2-mod-php5 mysql-client mysql-server php5 php-pear php-xml-parser php-xml-serializer php5-cli php5-common php5-gd php5-imagick php5-mysql

Let the package manager resolve the dependencies and you should be good to go. The one hang up might get is that some distros don't include mbstring in their php package.

You can check which extensions was already installed on your server by pointing your web browser to


Following image taken from TomatoCMS Live Demo indicates that pdo and pdo_mysql are installed on server: Image:requirements_phpinfo.png

MySQL

MySQL 5.0 or later

Apache

Apache web server with mod_rewrite module.

I'm fairly certain that Ubuntu's apache2 package includes mod_rewrite.

You turn it on by typing in:

a2enmod rewrite

/etc/init.d/apache2 restart

NOTE: You must either su to root (sudo su) or type sudo before each command.

Personal tools