PDA

View Full Version : How-to php extensions (iconv)



itactician
12-19-2006, 02:10 AM
How-to php extensions
How can y build custom php extensions, not included in default DA install ?

I need
* iconv

Thanks!

hehachris
12-19-2006, 03:17 AM
1, edit /usr/local/directadmin/customapache/configure.php

and add


--with-iconv \

over


--with-apxs \


So the first few lines of your configure.php will look like


#!/bin/sh
./configure \
--with-iconv \
--with-apxs \


2, recompile php

./build clean
./build php n