cp /opt/local/bin/wget /usr/bin/
--prefix=/opt/local/
$ /opt/local/apache2/bin/php -i | grep ./configure
Configure Command => './configure' '--prefix=/opt/local' '--mandir=/opt/local/share/man' '--infodir=/opt/local/share/info' '--with-config-file-path=/opt/local/etc' '--enable-calendar' '--with-iconv=/opt/local' '--enable-exif' '--enable-ftp' '--enable-wddx' '--with-zlib=/opt/local' '--with-bz2=/opt/local' '--without-sqlite' '--without-pdo-sqlite' '--with-libxml-dir=/opt/local' '--with-gettext=/opt/local' '--with-xml' '--with-expat-dir=/opt/local' '--with-xmlrpc' '--enable-soap' '--enable-filepro' '--enable-bcmath' '--enable-trans-sid' '--enable-mbstring' '--enable-dbx' '--enable-dba' '--with-openssl=/opt/local' '--with-mhash=/opt/local' '--with-mcrypt=/opt/local' '--with-xsl=/opt/local' '--with-curl=/opt/local' '--with-pcre-regex=/opt/local' '--with-gd' '--with-jpeg-dir=/opt/local' '--with-png-dir=/opt/local' '--enable-gd-native-ttf' '--without-pear' '--with-freetype-dir=/opt/local' '--with-ldap=/usr' '--with-kerberos=/usr' '--with-iodbc=/usr' '--with-apxs2=/opt/local/apache2/bin/apxs' '--with-mysql=/opt/local' '--with-pdo-mysql=/opt/local'
Build complete.
Don't forget to run 'make test'.
mv /Users/henk/lsws/fcgi-bin/lsphp-5.2.6 /Users/henk/lsws/fcgi-bin/lsphp-5.2.6.bak; cp /Users/henk/lsws/phpbuild/php-5.2.6/sapi/litespeed/php /Users/henk/lsws/fcgi-bin/lsphp-5.2.6
mv: rename /Users/henk/lsws/fcgi-bin/lsphp-5.2.6 to /Users/henk/lsws/fcgi-bin/lsphp-5.2.6.bak: No such file or directory
Installing PHP SAPI module: litespeed
Installing PHP CLI binary: /opt/local/bin/
cp: /opt/local/bin/#INST@40955#: Permission denied
make: *** [install-cli] Error 1
ls_install: Failed!