/var/log/step2k

February 6, 2008

Compile Apache2 + PHP5

Filed under: Project, Freebsd - Salman Teguh @ 2:46 am

Compile & Install Apache 2 :
1. ./configure --prefix=/usr/local/apache --enable-so --enable-cgi --enable-info --enable-rewrite --enable-speling --enable-usertrack --enable-deflate --enable-ssl --enable-mime-magic
2. make
3. make install

Compile & Install PHP 5 (with GD, PDFlib, MySQL)
1. ./configure --with-apxs2=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql --prefix=/usr/local/apache/php --with-config-file-path=/urs/local/apache/php --enable-force-cgi-redirect --disable-cgi --with-zlib --with-gettext --with-libxml-dir=/usr/local/libxml2 --enable-bcmath --enable-calendar --with-gd=/usr/local/gd --with-ttf --enable-gd-native-ttf --enable-mbstring --with-pdflib=/usr/local/pdflib --enable-soap --enable-sockets --enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-wddx
2. make
3. make install

Comments »

The URI to TrackBack this entry is: http://step2k.blogsome.com/2008/02/06/compile-apache2-php5/trackback/

No comments yet.

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>


Get free blog up and running in minutes with Blogsome
Theme designed by Alex King