Re: Compiling PHP

From: Date: Tue, 13 May 2003 13:41:00 +0000
Subject: Re: Compiling PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-147431@lists.php.net to get a copy of this message
hi, i dont know any resources where to look for examples, my english is also very bad i could tell you your first steps: 1. download php source (4.3.1 is stable and latest i think, i use it with very good results) make /usr/src/php a link to your sourcedir 2. unpack the source and check configure options how to enable modules etc. '/usr/src/php/configure --help' first, read the README and INSTALL File optional: (3. decide if you want a staticall binarie (a hery big http-binary with php included) i would prefer a statical binray with everything comiled in.) 4. type 'configure' and 'make', check output for errors, if OK, install ,) if you want more details, tell me, but i can only tell you how to set up a statical http binary with php 4.3.1+apache 1.3.27 +gdlib 2.0.12 + freetype+mysql and more, i got a little script-set to do that but statical! i dont tried the (cgi)mod-version my compilation does it with: cd /usr/src/php && make clean && rm -f ./config.status rm -f config.cache ./configure \ --prefix=/home/php/4.3.1 \ --with-pcre-regex=/usr/local \ --with-imap \ --enable-blowfish \ --enable-bcmath \ --with-flatfile \ --enable-dbase \ --enable-dbx \ --with-pear \ --with-db3=/usr/local/BerkleyDB \ --enable-exif \ --enable-memory-limit \ --with-jpeg-dir=/usr/src/jpeg-6b \ --with-bz2 \ --with-zlib \ --with-zip \ --with-tiff-dir=/usr/src/libtiff \ --enable-ftp \ --with-memcache=/usr/src/libmm \ --enable-sysvshm \ --enable-sysvem \ --without-tsrm-threads \ --enable-static=all \ --enable-shmob \ --enable-sockets \ --with-t1lib=/usr/src/t1lib \ --with-ttf=/usr/src/freetype \ --with-pgsql=/home/pgsql/7.1 \ --with-openssl=/usr/local/openssl \ --with-apache=/home/SRC/apache \ --with-mcrypt=/usr/src/libmcrypt/lib \ --enable-calendar \ --enable-ctype \ --enable-inline-optimization \ --with-gd=/usr/local \ --with-freetype-dir=/usr/src/freetype-2.0.2 \ --with-pdflib=/usr/local/pdflib5/c \ --with-swf \ --with-java=/usr/lib/jdk1.3.1 \ --with-mysql=/home/mysql && i had to install a lot of libraries first. maybe ldap is missing ,) echo 'ready to: make && make install' volker <zitiere wer="Thomas Mundal"> > Hi! I'm Quite amateur on using php, and I have seen many places that if i > want to use additional functinallity with php, i need to compile php with > that function... or something.. Can anyone tell me how to do that, or send > me a link to where i can learn it? I want to use PHP with LDAP support for > quering Active Directory.. :) > > Thanx in advance.. > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#147431) next »