Daily Archives: April 2, 2006


Setup virtual users and domains on Courier (Debian package)

Courier Virtual Email Hosting – No SQL Servers Using USERDB Add the domain(s) Add your domain name to esmtpacceptmailfor.dir/default Add your domain name to hosteddomains/default Then create the courier system files, run: makeacceptmailfor makehosteddomains Add the users You run 2 commands to add a user. (same user/pw for smtp also) […]


Compile Apache 2 with PHP 4 and MySQL 5 (while MySQL 4 is also installed) 1

Download and unpack Apache and PHP. MySQL 5 is install already. (as per another blog: https://www.1stbyte.com/2006/04/02/mysql-5-upgrade-compiled/ Make sure you have the proper dev packages. In my case I had to install ‘libflex’ and ‘libgdbm-dev’ using apt-get install to install PHP. (I have Debian Unstable) ./configure –prefix=/var/httpd –enable-so –enable-proxy –enable-proxy-ftp –enable-proxy-http […]


Make dynamic amount of columns with PHP

Below is a demonstration of how I created variable amount of columns in a table listing.  In this example I was creating a picture gallery and using template files, so you can see even more than the dynamic columns, but anyway… The only bit of important info here are these […]


Mysql 5 upgrade – compiled 1

I just upgraded my MySQL server from 5.0.7 to 5.0.10. I wanted to make a few notes about what I did to set it up. 1. I compiled MySQL 5.0.10-beta. ./configure –prefix=/var/mysql5010 –with-unix-socket-path=/tmp/mysql5.sock –with-mysqld-ldflags=-all-static –enable-assembler –with-low-memory –with-named-curses-libs=/lib/libncurses.so.5 –with-mysqld-user=mysql 2. Did a make && make install 3. Stop mysql507 (on my […]