Subject | building minimal php with only firebird/interbase extension |
---|---|
Author | marius popa |
Post date | 2008-06-19T14:56Z |
if you want to build minimal an php+firebird extension only setup
here is how to do it without xml/mysql/sqlite and all that stuff that
you might not need it
tar -jxvf php-5.2.6.tar.bz2
cd php-5.2.6/
./configure --disable-all --with-interbase --prefix=/tmp/foo
--with-apxs2=/usr/bin/apxs
make
make install
/tmp/foo/bin/
./php -m
[PHP Modules]
date
interbase
Reflection
standard
[Zend Modules]
and you can test the minimal php and eats less memory in apache/lighttpd/nginix
-- ls -lah php
-rwxr-xr-x 1 root root 6.5M 2008-06-19 17:35 php
here is how to do it without xml/mysql/sqlite and all that stuff that
you might not need it
tar -jxvf php-5.2.6.tar.bz2
cd php-5.2.6/
./configure --disable-all --with-interbase --prefix=/tmp/foo
--with-apxs2=/usr/bin/apxs
make
make install
/tmp/foo/bin/
./php -m
[PHP Modules]
date
interbase
Reflection
standard
[Zend Modules]
and you can test the minimal php and eats less memory in apache/lighttpd/nginix
-- ls -lah php
-rwxr-xr-x 1 root root 6.5M 2008-06-19 17:35 php