Build and installation

<< Preparation | Setting up PHP and Firebird on Linux | Testing >>

Build and installation

Warning: Adjust the paths to suit your own configuration.

Apache™

 cd /yourhome/apps/httpd-2.2.8

 ./configure --enable-so --prefix=/yourhome/inst/httpd

 make

 make install

PHP

 cd /yourhome/apps/php-5.2.5

 ./configure --with-interbase=/opt/firebird/ 
 --with-apxs2=/yourhome/inst/httpd/bin/apxs --disable-libxml 
 --disable-dom --disable-simplexml --disable-xml 
 --disable-xmlreader --disable-xmlwriter --without-pear 
 --prefix=/yourhome/inst/php

 make

 make install

Note: These switches:

 --disable-libxml \ 
--disable-dom --disable-simplexml --disable-xml \
--disable-xmlreader --disable-xmlwriter --without-pear

are specific to our system, as pear uses XML and we don't have libxml installed in our system. If you have libxml in your system, of course these switches are unnecessary.

See also:
Beginners' guide to Firebird and PHP
Using Apache™, PHP and InterBase® to develop websites

back to top of page
<< Preparation | Setting up PHP and Firebird on Linux | Testing >>