How to , and other stuff about linux, photo, php … A linux, photography blog. To remember some linux situation, and fix them quickly.

October 30, 2013

PHP-SOAP Installation on DirectAdmin

Filed under: Linux — admin @ 4:29 pm

New problem on my side. On a DirectAdmin server. First of all I was thinking that it using repository, however I was wrong. The direct admin use a custom build.
So , how to install php-soap on a directadmin server without yum install php-soap ?

Well first of all you can go do build directory :
cd /usr/local/directadmin/custombuild

Here you can see what is the actual configuration with:
./build used_configs

The php file will be I think
/usr/local/directadmin/custombuild/configure/suphp/configure.php5

Now append –enable-soap to the end of the file. Don’t forget to add a “\” to the end of the last line.
Basically you will have something like :

“–enable-mbstring” \
“–with-imap” \
“–with-imap-ssl”

You have to modify it something like

“–enable-mbstring” \
“–with-imap” \
“–with-imap-ssl \”
“–enable-soap”

After this run
./build php all

Regards

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress