title: Gallery QPKG Plugin on a QNAP TS 209
body: <p>I have a QNAP TS 209 firmware version: 3.3.2 Build 0918T. (as far as I know the last official version)
  I've installed successfully the Gallery plugin but when starting is I get the following error:</p>
  
  <p>There are some problems with your web hosting environment that need to be fixed before you can successfully install Gallery 3.
  PHP is missing the iconv extension</p>
  
  <p>In fact it is true. Php has been compiled explicitly without iconv. phpinfo() shows the following configure command:</p>
  
  <p>'./configure' '--prefix=/usr/local/php' '--with-config-file-path=/usr/local/apache/conf/php.ini' '--with-config-file-scan-dir=/etc/config/php.d' '--with-apxs=/usr/local/apache/bin/apxs' '--enable-ftp' '--enable-sockets' '--disable-ipv6' '<strong>--without-iconv</strong>' '--with-zlib-dir' '--with-jpeg-dir' '--with-png-dir' '--with-gd' '--with-freetype-dir' '--enable-gd-native-ttf' '--enable-mbstring' '--with-openssl-dir' '--with-libxml-dir=/opt/cross-project/ARM/arm-none-linux-gnueabi/arm-none-linux-gnueabi/sys-root' '--enable-sqlite-utf8' '--enable-zend-multibyte' '--enable-exif' '--with-mysql=/usr/local/mysql' '--with-pdo-mysql=/usr/local/mysql' '--with-curl=/opt/cross-project/ARM/arm-none-linux-gnueabi/arm-none-linux-gnueabi/sys-root' '--with-curlwrappers' '--with-mcrypt' '--enable-shared'</p>
  
  <p>and this is the reason why Gallery is NOT working.</p>
  
  <p>My question is how to install/compile php under this box?
  Or is there any workaround for this problem?</p>
  
  <p>Thanks in advance.</p>