Ubuntu install and tips

This project is maintained by nicolas-brousse

← Go home

Fresh install PHP PROD server

See common installation and configuration before.
Do this operation with root user.

Apt-get

Install mysql-server and apache2 with php5

$ apt-get install mysql-server
$ apt-get install libapache2-mod-php5

Install commons php5 extensions:

$ apt-get install php-apc php5-cli php5-curl php5-gd php5-imagick php5-intl php5-mcrypt php5-xsl

Configure Apache

Enable current mods of apache

$ a2enmod rewrite

Configure php.ini

; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = Europe/Paris

NewRelic

TODO config


← Go home