≡ Menu

Compiling PHP

I’ve spent the better of the day attempting to get PHP compiled on one of my servers to begin testing some things. Normally that’s not such a daunting task, but we have a fairly complicated PHP setup. In fact, this is our compile line:

./configure --with-mysqli=/usr/local/mysql/bin/mysql_config --with-mysql=/usr/local/mysql --with-apxs2=/usr/local/apache2/bin/apxs --with-jpeg-dir=/home/build_files/jpeg-6b/ --with-freetype --with-png --with-dom --with-xml --with-pspell --with-zlib --with-freetype --enable-gd-native-ttf --with-gettext --enable-xslt --with-xslt-sablot --with-mcrypt --with-openssl=/usr/local/ssl/ --with-ttf --enable-ftp --enable-inline-optimization --enable-sysvsem=shared --enable-sysvshm=shared --enable-wddx --enable-yp --with-gd --enable-sockets --enable-bcmath --with-pic --enable-calendar --enable-ctype --with-iconv --with-gmp --with-mm --enable-trans-sid --enable-shmop --enable-memory-limit --with-tsrm-pthreads --enable-shared --with-xmlrpc --with-expat-dir=/usr/local/ --with-xsl --with-imap=/home/build_files/imap-2004g --with-imap-ssl --with-mime-magic --with-tidy --with-zip --enable-exif --enable-pcntl --with-curl

Every time I try to set this up, I always run into a problem with at least 1 module. Todays problem was Tidy… It would seem they no longer push the source out to the public. So, I am documenting my sequence of steps for libtidy or tidylib or Tidy Lib. The steps were as follows:

  1. cvs -d:pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy login
  2. cvs -z3 -d:pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy co -P tidy
  3. cd tidy
  4. cd build
  5. cd gmake
  6. make

Hopefully that helps someone besides just me get Tidy setup and running. Heck, searching for Libtidy was hard enough ;-).

Comments on this entry are closed.

  • Alx April 7, 2007, 4:50 pm

    Hurrah for the GD and FreeType libraries! Woo!

  • Justin Gehring April 8, 2007, 4:58 pm

    If only it was for the server you were on ;-).

  • Alx April 9, 2007, 9:26 am

    LOL. I live vicariously through other servers, so it's cool.

Next post:

Previous post: