title: Installing PHP 5.3.29 from Sources on Ubuntu 14 with Apache 2 Module
body: <p>I successfully installed PHP 5.3.29 on Ubuntu 14 with Apache 2 separately.</p>
  
  <p>I installed PHP with the following method:</p>
  
  <pre><code>sudo -i
  wget http://in1.php.net/distributions/php-5.3.29.tar.bz2
  tar -xvf php-5.3.29.tar.bz2
  cd php-5.3.29
  ./configure
  make
  make install
  </code></pre>
  
  <p>However, PHP and Apache do not seem to have any linkage. That means I have installed both Apache and PHP, but Apache does not run PHP.</p>
  
  <p><strong>What I have tried:</strong></p>
  
  <p>From this site: <a href="https://docs.moodle.org/28/en/Compiling_PHP_from_source" rel="noreferrer">https://docs.moodle.org/28/en/Compiling_PHP_from_source</a><br>
  "Configuring Apache and PHP", it asked me to add this in the Apache configuration file:</p>
  
  <blockquote>
    <p>LoadModule php5_module  modules/libphp5.so</p>
  </blockquote>
  
  <p>However, I do not have "libphp5.so" module.</p>
  
  <p>Some people asked me to run this:</p>
  
  <pre><code>sudo apt-get install libapache2-mod-php5
  </code></pre>
  
  <p>But after running the command, it installed PHP 5.5.9 for me, but I need PHP 5.3.29.</p>
  
  <p>How can I make Apache run PHP 5.3.29 which I have installed?</p>