Skip to content

Instantly share code, notes, and snippets.

@p
Created March 9, 2011 01:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save p/861475 to your computer and use it in GitHub Desktop.
Save p/861475 to your computer and use it in GitHub Desktop.
Build commands for various packages
# apache 2.0
./configure --prefix=/opt/apache-2.0.64 --enable-so
# php 4.4
# php bundles mysql, default is to use bundled
# php bundles gd apparently, default is to not use it
./configure --prefix=/opt/php-4.4.9 --with-pgsql=/opt/postgresql-7.3.21 --with-apxs2=/opt/apache-2.0.64/bin/apxs --enable-fastcgi --with-gd=/usr/local --with-mysql=/usr/local
# php4
# http://www.hypexr.org/phpbb.php
#LoadModule php4_module modules/libphp4.so
AddType application/x-httpd-php .php .php4
# php5
#AddHandler php5-script .php
# su - pg73 -c '/opt/postgresql-7.3.21/bin/pg_ctl -D /var/db/pg73 start'
# Creating databases
# su - pg73 -c '/opt/postgresql-7.3.21/bin/createdb -O phpbb -E utf8 test3'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment