Results 1 to 1 of 1
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-29-2011 #1
- Join Date
- Jun 2011
Installation/Compiling of PHP 5.3.6 from source.
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
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