cd db-4.7.25.NC/
cd build_unix/
sudo CPPFLAGS=-DHAVE_CXX_STDHEADERS ../dist/configure --enable-cxx --enable-java
sudo make
sudo make install
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/BerkeleyDB.4.7/lib/
cd ../php_db4/
phpize
sudo CPPFLAGS=-DHAVE_CXX_STDHEADERS ./configure --with-db4=/usr/local/BerkeleyDB.4.7/lib/ --with-mod_db4=$APACHE_INCLUDEDIR
sudo make
sudo make install
sudo service lighttpd restart
Title:
Install Berkeley DB support PHP (db4) and Java API
Description:
cd db-4.7.25.NC/ cd build_unix/ sudo CPPFLAGS=-DHAVE_CXX_STDHEADERS ../dist/configure --enable-cxx --enable-java sudo make sudo make install...
...
Rating:
4