Why not use the web interface? It's handy because it will store the config from your previous build so you can just add or remove as needed down the road.
For the most part, you can use the web interface to recompile php without causing downtime to any sites hosted.
I'm sure the same is true by using the terminal, but reason #1 is enough for me to use the web interface.
I don't know if it's useful to you but I'm sure down the road someone else may like it... here's the configure options I used during my last build:
Code:
--with-litespeed --enable-shmop --enable-track-vars --enable-sysvsem --enable-sysvshm --enable-bcmath --enable-calendar --with-openssl --enable-exif --enable-ftp --enable-gd-native-ttf --enable-libxml --enable-mbstring --enable-pdo --enable-soap --enable-sockets --enable-zip --with-bz2 --with-curl --with-curlwrappers --with-freetype --with-gd --with-gettext --with-imap --with-imap-ssl --with-jpeg-dir=/usr --with-png-dir=/usr --with-libxml --with-mcrypt --with-mhash --with-mysql-sock=/var/run/mysqld/mysqld.sock --with-mysql --with-mysqli --with-pdo-mysql --with-sqlite --with-pdo-sqlite --with-pic --with-ttf --with-zpm --with-xsl --with-zlib --with-snmp --with-imagick --with-iconv --with-zip --with-curl-ssl --with-xpm-dir=/usr --with-kerberos --enable-suhosin