Hey guys I've been messing with this problem for at least a couple of hours now. I'm trying to get an nginx/php-fpm/mysql stack setup on Ubuntu Server 10.04 LTS 32 bit version.

I have pretty much got everything going fine, except PHP extensions. For whatever reason when I compile php it is seeming to not compile any extensions with it ?

I am using the following ./configure :
./configure --prefix=/opt/php5 --with-config-file-path=/opt/php5/etc --with-curl --with-pear --with-gd --with-jpeg-dir --with-png-dir --with-zlib --with-mcrypt --with-mhash --with-mysql --with-mysqli --with-pdo-mysql --with-openssl --with-xmlrpc --with-xsl --with-bz2 --with-gettext --with-fpm-user=www-data --with-fpm-group=www-data --enable-fpm --enable-exif --enable-wddx --enable-zip --enable-bcmath --enable-calendar --enable-ftp --enable-mbstring --enable-soap --enable-sockets --enable-sqlite-utf8 --enable-shmop --enable-dba --enable-sysvmsg --enable-sysvsem --enable-sysvshm
My understanding is (or so I thought) that when the --enable switches are given that tells the compiler to compile those extensions. Well it's not doing that for me. nginx/php-fpm are up and running fine, but without any php extensions !
When I check phpinfo all of the extensions were enabled properly, but I don't have any compiled *.so files to load.

My next step was attempting to compile them separately, I went into sources/php/ext/mysqli and did phpize ./configure --with-mysqli and then make, and I get a mysqli.so file. This file doesn't get recognized as a proper php extension though when I point to it.

I don't seem to remember having this problem before, any help would be greatly appreciated. I thought it was supposed to compile the modules/extensions when I did make?

Thanks ahead of time everyone