Quote:
export CFLAGS="-march=x86-64 -O3 -pipe -msse2 -mfpmath=sse -mmmx -fomit-frame-pointer"
./configure --disable-debug --with-apxs --with-curl --with-gd --with-jpeg-dir=/usr/local/lib --with-mcrypt ....
You can find the proper line for your stepping if you google about a bit. This really helps the binary out! Note the -O3 flag as well, also very important. You can also consider adding the --enable-inline-optimization flag to your PHP configure directive. It makes for a fatter, yet faster binary. Nonetheless (digressing, sorry!) in this case you'll want to add the proper PDO directives in the config line at this step.