PDA

View Full Version : Custom PHP4



BigWil
08-17-2004, 12:29 PM
Well I am hoping this thread gets more attention than the last one I posted.

How do I go about customizing the default PHP install? We have alot of PHP users that require a more robust PHP installation. As an example Sablot is a requirement. I can install Sablotron from the ports collection no problem, but I need to recompile PHP so it has the builtin support.

I can drop into the ports and do the install from there but I don't want to conflict with the DA installation of PHP.

Assistance please.

Wil

l0rdphi1
08-17-2004, 07:04 PM
Hello,

To modify DA's PHP configure line and then recomple PHP:

cd /usr/local/directadmin/customapache
./build clean
rm -f configure.*
./build update

Now, we can modify PHP's configure line in the /usr/local/directadmin/customapache/configure.php file.

And then run this to recomple DA's PHP:

./build php

Thank You,Phi1.