PHP: Disable Xdebug for CLI
In most scenarios you won’t need Xdebug on your CLI. Also it is recommended to disable it if you use Composer. sudo php5dismod -s cli xdebug
In most scenarios you won’t need Xdebug on your CLI. Also it is recommended to disable it if you use Composer. sudo php5dismod -s cli xdebug
In case your template is not located in a file but in the database Twig allows you to render a string: $twig_env = new Twig_Environment(new Twig_Loader_String); $output = $twig_env->render(‘This is {{ foo }}’, [ ‘foo’ => ‘an ordinary string’, ]); … Continue reading
If you are using the php5-mcrypt library in your projects you might experience that it’s no longer working after you have upgraded Ubuntu to 13.10. You can fix this with the following three commands I have found on stackoverflow [1]: … Continue reading