I am on an ubuntu 10.04 system and I am building php 5.3.3. I can build a CGI version just fine, but when i try and build a .so with this command:
./configure --with-apxs2=/usr/bin/apxs2 --enable-so --disable-cgi
I get this:
Notice: Following unknown configure options were used:
--enable-so
So how do I build a .so with 5.3.3?
Using the below command you will see all available command for compiling it:
While i was browsing it i saw no --enable-so anymore so i am assuming that only using
--with-apxs2=path/apsx2
will do the job for you.I will be compiling this in a minute and let you know how it goes.
UPDATE:
I have just finished compiling the version 5.3.3 and it indeed DONT NEED OR HAVE the
--enable-so
aslong as you specify the--with-apxs2
I have configured it with:
Once the proccess was done there was a
/usr/lib/httpd/modules/libphp5.so
in place.Also during the compilation you can see the below:
it has also included the
LoadModule php5_module lib/httpd/modules/libphp5.so
on my httpd.conf automaticly without the need to do it by hand.http://nexlinux.blogspot.com/ I've write the way i compiled php 5.3.3. May be the above could help you..