title: libphp5.so not being created after compiling and prefix directory not created
body: <pre><code>./configure \
      --with-apxs2=/usr/local/apache/bin/apxs \
      --prefix=/usr/local/apache/php \
      --with-config-file-path=/usr/local/apache/php
  make &amp;&amp; make install
  </code></pre>
  
  <p>I see no critical errors during the configuration, and none during installation.</p>
  
  <p>Apache is installed at <code>/usr/local/apache</code>, and the apxs has been verified to be correct.</p>
  
  <p><code>/usr/local/apache/php</code> is not being created and neither is libphp5.so being generated anywhere.</p>
  
  <p>I'm installing 5.2.17 on centos.</p>
  
  <p><strong>EDIT</strong>: Here's the full configure command:</p>
  
  <pre><code>./configure \
      --with-apxs2=/usr/local/apache/bin/apxs \
      --with-mysql \
      --prefix=/usr/local/apache/php \
      --with-config-file-path=/usr/local/apache/php \
      --enable-force-cgi-redirect \
      --disable-cgi \
      --with-openssl \
      --with-mcrypt \
      --with-gd \
      --with-pdo-mysql \
      --without-sqlite \
      --without-sqlite3 \
      --enable-pdo \
      --without-pdo-sqlite \
      --with-zlib \
      --with-gettext \
      --with-gdbm \
      --enable-pcnlt \
      --with-curl
  </code></pre>