Hi,

It's possible to install the PHP Module as dynamic extension without rebuilding 
the whole PHP Source. I did some minor changes to the Source, Makefiles und 
configuration macros, below are the instructions:

* Install the PHP Source RPM-Package and php-devel Package * 
rpm -i php-4.1.2-2.1.8.src.rpm
rpm -i php-devel-4.1.2-2.1.8.i386.rpm

* Create the PHP-Build Directory (You can ignore dependencies here) *
rpmbuild --nodeps -bp /usr/src/redhat/SPECS/php.spec

* Extract the maxdb-php Interface tarball * 
tar xzf maxdb-php-source-7_5_00_19.tgz

* Get the Patch *
wget 
http://www.hoetzel.info/jo/Hacking/maxdb/maxdb-php-4.1-source-7_5_00_19.patch

* Apply the Patch *
cd ext
patch -p1 <../maxdb-php-4.1-source-7_5_00_19.patch

* Copy the extension to the PHP-Source extension Directory *
cp -r maxdb /usr/src/redhat/BUILD/php-4.1.2/ext
cd /usr/src/redhat/BUILD/php-4.1.2/ext/maxdb

* Configure the extension *
phpize
./configure  --with-maxdb=shared,/opt/sdb/programs

* Compile the Extension *
make

* Install the Extension into PHP4 Module Directory *
mv modules/maxdb.so  /usr/lib/php4/

* Add to your php.ini *
extension=maxdb.so


-------------------------------------------

Cyperfection - agentur f�r neue medien gmbh

J�rgen H�tzel
mailto:[EMAIL PROTECTED]

Karl-Kraemer-Str. 4 - 67061 Ludwigshafen
fon: 0621/587104-0 - fax: 0621/587104-90 
http://www.cyperfection.de/

Anfahrt - http://www.cyperfection.de/Anfahrt/

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to