»

Installing PHP5 Twig Extension

Log — Tags: , , — Posted by Starck on April 17, 2014

Environment: Ubuntu

The PHP5 source needed for compiling additional modules

sudo apt-get install gcc php5-dev

Compiling Twig Source Code

Installation

PHP5

vim /etc/php5/conf.d/twig.ini

PHP5-FPM

vim /etc/php5/fpm/conf.d/twig.ini

Add the following to your twig.ini file

Restarting

PHP5

sudo service apache2 restart

PHP5-FPM

sudo service php5-fpm restart

(c) 2017 Starck Lin | powered by WordPress