For Windows:
-1. Setup the build environment following the `PHP documentation`_.
-2. Use the ``configure --disable-all --enable-cli --enable-twig=shared`` command instead of step 14
-3. nmake
-4. Copy the ``C:\php-sdk\phpdev\vcXX\x86\php-source-directory\Release_TS\php_twig.dll`` file to your PHP setup.
+1. Setup the build environment following the `PHP documentation`_;
+2. Use the ``configure --disable-all --enable-cli --enable-twig=shared``
+command instead of step 14;
+3. ``nmake``;
+4. Copy the
+``C:\php-sdk\phpdev\vcXX\x86\php-source-directory\Release_TS\php_twig.dll``
+file to your PHP setup.
.. tip::
- For Windows ZendServer, TS is not enabled as mentionned in `Zend Server FAQ`_.
+ For Windows ZendServer, TS is not enabled as mentionned in `Zend Server
+ FAQ`_.
- You have to use `configure --disable-all --disable-zts --enable-cli --enable-twig=shared` to be able to build the twig C extension for ZendServer.
+ You have to use `configure --disable-all --disable-zts --enable-cli
+ --enable-twig=shared` to be able to build the twig C extension for
+ ZendServer.
- The built DLL will be available in C:\php-sdk\phpdev\vcXX\x86\php-source-directory\Release
+ The built DLL will be available in
+ C:\php-sdk\phpdev\vcXX\x86\php-source-directory\Release
Finally, enable the extension in your ``php.ini`` configuration file: