| Line 1... | Line 1... | 
          
            | 1 | You will need some extra stuff to run this under Debian. First
 | 1 | You will need some extra stuff to run this under Debian. First
 | 
          
            | 2 | the PHP needs both IMAP and YAML (which comes from PECL). This 
 | 2 | the PHP needs both IMAP and YAML (which comes from PECL). This 
 | 
          
            | 3 | only works under Debian Wheezy.
 | 3 | only works under Debian Wheezy.
 | 
          
            | 4 |  
 | 4 |  
 | 
          
            | 5 | # get the libraries we need
 | 5 | # get the libraries we need
 | 
          
            | 6 | apt-get install php-pear php5-dev libyaml-dev libyaml-0-2 libyaml-0-2-dbg libio-interactive-perl libyaml-libyaml-perl libyaml-perl php5-imap
 | 6 | apt-get install php-pear php5-dev libyaml-dev libyaml-0-2 libyaml-0-2-dbg libio-interactive-perl libyaml-libyaml-perl libyaml-perl php5-imap libdbi-perl
 | 
          
            | 7 | # use pecl to install php's yaml. Will actually compile it, so get a cup of coffee
 | 7 | # use pecl to install php's yaml. Will actually compile it, so get a cup of coffee
 | 
          
            | 8 | pecl install yaml
 | 8 | pecl install yaml
 | 
          
            | 9 | # tell php it has the yaml extension
 | 9 | # tell php it has the yaml extension
 | 
          
            | 10 | echo 'extension=yaml.so' >> /etc/php5/cli/php.ini
 | 10 | echo 'extension=yaml.so' >> /etc/php5/cli/php.ini
 | 
          
            | 11 | echo 'extension=yaml.so' >> /etc/apache2/cli/php.ini
 | 11 | echo 'extension=yaml.so' >> /etc/apache2/cli/php.ini
 |