Compiling PHP to work with extensions.

roxx

Verified User
Joined
Sep 26, 2009
Messages
5
Hello,

I want to know how to install or compile PHP 5 or Apache2 to work with EXIF extension.

I surfed forums & sites according to the subject but I'm a little confused.

There are no Configure.php in "/usr/local/directadmin/custombuild" or "/usr/local/directadmin/customapache"

The only configure.php5 is in the above folders.
"/usr/local/directadmin/custombuild/configure/ap1"
"/usr/local/directadmin/custombuild/configure/ap2"
"/usr/local/directadmin/custombuild/configure/suphp"

Which "configure.php5" in which folder do I have to add these lines ?
" --enable-with-exif " or "--enable-exif"


After that, Do i have to compile with these commands ?
cd /usr/local/directadmin/custombuild
./build update
./build php n


Thanks in advance..
 
thanks for the info smtalk,

That worked for me by adding "--enable-exif" line to
"usr/local/directadmin/custombuild/configure/suphp/configure.php5"

after I build php "./build php n"
my php version also updated to 5.2.12
 
Back
Top