I need curl

Discussion in 'Installation/Configuration' started by asgard, Jul 11, 2006.

  1. asgard

    asgard New Member

    I need ispconfig´s php with curl support, whats the line i have to write in the compile file of the preinstallation of ispconfig. please
  2. falko

    falko Super Moderator ISPConfig Developer

    Install curl and curl-devel on your system, and then change the following in install_ispconfig/compile_aps/compile:

    cd ../${PHP}
    ./configure --with-apxs=${INSTALL_ROOT}/httpd/bin/apxs --enable-track-vars --enable-sockets --enable-mbstring=all --with-config-file-path=${INSTALL_ROOT}/php --enable-ftp --prefix=${INSTALL_ROOT}/php ${WITH_OPENSSL} ${WITH_MYSQL} --disable-libxml --disable-dom --disable-xml ${WITH_ZLIB_DIR} --disable-xmlreader --disable-xmlwriter --disable-simplexml --without-pear [B][COLOR="Red"]--with-curl[/COLOR][/B] || error "Could not configure PHP"
    You might have to specify the curl directory, so the configure statement would change to

    ./configure --with-apxs=${INSTALL_ROOT}/httpd/bin/apxs --enable-track-vars --enable-sockets --enable-mbstring=all --with-config-file-path=${INSTALL_ROOT}/php --enable-ftp --prefix=${INSTALL_ROOT}/php ${WITH_OPENSSL} ${WITH_MYSQL} --disable-libxml --disable-dom --disable-xml ${WITH_ZLIB_DIR} --disable-xmlreader --disable-xmlwriter --disable-simplexml --without-pear [B][COLOR="Red"]--with-curl[=DIR][/COLOR][/B] || error "Could not configure PHP"

Share This Page