title: Upgrade PCRE version on Ubuntu with PHP5
body: <p>I have a vagrant box running with Ubuntu 12.04 LTS which is provisioned by a shell script. I´m installing PHP5 and Apache:</p>
  
  <pre><code>sudo add-apt-repository -y ppa:ondrej/php5
  sudo apt-get update
  sudo apt-get install -y php5 apache2 libapache2-mod-php5 php5-curl php5-gd php5-mcrypt mysql-server-5.5 php5-mysql git-core
  </code></pre>
  
  <p>I want to run TYPO3 CMS 7 which requires PCRE (Perl compatible regular expressions) with version 8.30 or higher.</p>
  
  <p>If I check my PCRE version, it´s 8.12:</p>
  
  <pre><code>vagrant@precise64:~$ php -i | grep PCRE
  PCRE (Perl Compatible Regular Expressions) Support =&gt; enabled
  PCRE Library Version =&gt; 8.12 2011-01-15
  </code></pre>
  
  <p>If I can trust the PHP.net manual, then I should already have a higher PCRE version installed. Described here: <a href="http://php.net/manual/en/pcre.installation.php" rel="nofollow">http://php.net/manual/en/pcre.installation.php</a></p>
  
  <p>I already tried to download it manually and <code>make install</code> it, but it was not recognized by my PHP.</p>
  
  <p>So my question is, how can I easily upgrade my PCRE to a higher version? Or do you recommend other PHP packages? Thanks for your help!</p>