Skip to main content

Thread: Installation/Compiling of PHP 5.3.6 from source


hey guys i've been messing problem @ least few hours now. searched around quite bit too... i'm trying nginx/php-fpm/mysql stack setup on ubuntu server 10.04 lts 32 bit version.

have pretty got going fine, except php extensions. whatever reason when compile php seeming not compile extensions ?

using following configure flags:

code:
./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 (or thought) when --enable switches given tells compiler compile extensions. it's not doing me. nginx/php-fpm , running fine, without php extensions !
when check phpinfo of extensions enabled properly, don't have compiled *.so files load.
here static copy of phpinfo() install, http://iamstewart.com/dev/phpinfo.html

sooo, next step attempting compile them separately, went source/php/ext/mysqli directory , did phpize ./configure --with-mysqli , make, , mysqli.so file produced in /modules. file isn't valid extension though according php

don't seem remember having problem before, appreciated. thought supposed compile modules/extensions when did make?

ahead of time

if phpinfo says extensions enabled, means extensions enabled. reason don't .so files modules statically built php, there, try them out.


Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] Installation/Compiling of PHP 5.3.6 from source


Ubuntu

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support