Web Hosting Talk







View Full Version : Directadmin/Custombuild - Custom PHP compile...


ThatScriptGuy
08-20-2009, 11:21 AM
How do I use the custombuild program included with DA to enable the built in Soap functions in PHP? I know I could compile PHP manually, but then I would break my custombuild setup, which I don't want to do. Surely there is a way to include custom options from custombuild when building PHP?

Any help here is appreciated. I've got a broken website right now because I forgot that it depended on soap to function.

Woooo
08-20-2009, 11:26 AM
contact smtalk (martynas) on skype, he maybe of good help and instant support if found online.

ThatScriptGuy
08-20-2009, 11:33 AM
I know it has something to do with the ap1 or ap2 directories, but I've got no idea which and can't find any documentation on the subject. I'd rather get help here, publicly, but thank you for the suggestion.

ThatScriptGuy
08-20-2009, 11:50 AM
OK, for anyone who ever comes across this topic looking for help. To enable built-in soap support, all I had to do was this:

mkdir /usr/local/directadmin/custombuild/custom
mkdir /usr/local/directadmin/custombuild/custom/ap2
cp /usr/local/directadmin/custombuild/configure/ap2/configure.php5 /usr/local/directadmin/custombuild/custom/ap2/configure.php5

Edit ./custom/ap2/configure.php5 and add --enable-soap to the file, using the same \ syntax as you see in the file. Save it, ./build php and it worked perfectly.

I hope I did it right. Everything appears to be working.