Some questions about using ports colleciton

Kövesdán Gábor gabor.kovesdan at
Mon Jan 24 11:16:58 PST 2005


I'd like to set up a webserver and install everything via ports collection.

1, As the phpinfo tool indicates, these are my configure commands for
./configure' '--enable-versioning' '--enable-memory-limit'
'--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/etc/php'
'--disable-all' '--with-regex=php' '--disable-cli'
'--with-apxs2=/usr/local/sbin/apxs' '--prefix=/usr/local'

But they have to be similar to these:
'./configure' '--with-apxs2=/usr/local/apache2_php/bin/apxs' '--disable-cli'
'--without-pear' '--disable-posix' '--disable-sockets' '--disable-sysvshm'
'--disable-sysvsem' '--disable-sysvmsg' '--with-mysql' '--enable-bcmath'
'--enable-calendar' '--enable-dbase' '--with-gd=/usr/local'
'--with-jpeg-dir=/usr/local' '--with-freetype-dir=/usr/local'
'--enable-gd-native-ttf' '--enable-ftp' '--enable-xml'
'--enable-memory-limit' '--enable-safe-mode'

How can I recompile and reinstall my apache webserver with these configure

2, I also need some additional php modules, thus I attempted to install the
php-extensions port. A window appeared and I selected all of the available
extensions, but the compiling failed. I did a make clean, and wanted to
reinstall the port with the really necessary ports, but the window didn't
appear again. I did a make distclean but the result was the same. How can I
completely clean the config files from the port? I'd like to restart the
whole installation and re-configure the installation process with that


Gábor Kövesdán

More information about the freebsd-questions mailing list