trouble enabling soap php 5.3

tincboy

Verified User
Joined
Aug 14, 2009
Messages
126
I'm using these config but it's not working.
using this guide:
"

cd /usr/local/directadmin/custombuild
./build used_configs

Edit your php5 config file: (example)
nano /usr/local/directadmin/custombuild/custom/suphp/configure.php5

Add: (Note that only the last rule has no slash!)
--enable-soap

Save the file and rebuild PHP:
./build php all
"
#!/bin/sh
"./configure" \
"--prefix=/usr/local/php5" \
"--enable-force-cgi-redirect" \
"--enable-fastcgi" \
"--with-config-file-path=/usr/local/etc/php5/cgi" \
"--with-curl=/usr/local/lib" \
"--with-gd" \
"--with-gettext" \
"--with-jpeg-dir=/usr/local/lib" \
"--with-freetype-dir=/usr/local/lib" \
"--with-kerberos" \
"--with-openssl" \
"--with-mcrypt" \
"--with-mhash" \
"--with-mysql=/usr" \
"--with-mysqli=/usr/bin/mysql_config" \
"--with-pcre-regex=/usr/local" \
"--with-pdo-mysql=/usr" \
"--with-pear" \
"--with-png-dir=/usr/local/lib" \
"--with-zlib" \
"--with-zlib-dir=/usr/local/lib" \
"--enable-zip" \
"--enable-gd-native-ttf" \
"--with-iconv=/usr/local" \
"--enable-bcmath" \
"--enable-calendar" \
"--enable-ftp" \
"--enable-magic-quotes" \
"--enable-sockets" \
"--enable-mbstring"\
"--enable-soap"


Any suggestion?
 
Post a link to your phpinfo() here or via PM, or check it yourself. Find line "Server API". Note you should check it in a browser not in console.

Or check /usr/local/directadmin/custombuild/options.conf
 
Post a link to your phpinfo() here or via PM, or check it yourself. Find line "Server API". Note you should check it in a browser not in console.

Or check /usr/local/directadmin/custombuild/options.conf

Thanks, The server api value is: CGI/FastCGI
 
And what "Build Date" is there? Does it match the date of your try? And is there a string '--enable-soap' in "Configure Command" row?
 
And what "Build Date" is there? Does it match the date of your try? And is there a string '--enable-soap' in "Configure Command" row?

Yes build date does match and in configuration there's --enable-soap switch too,

Build Date

Nov 28 2011 14:14:05



Configure Command

'./configure' '--prefix=/usr/local/php5' '--enable-force-cgi-redirect' '--enable-fastcgi' '--with-config-file-path=/usr/local/etc/php5/cgi' '--with-curl=/usr/local/lib' '--with-gd' '--with-gettext' '--with-jpeg-dir=/usr/local/lib' '--with-freetype-dir=/usr/local/lib' '--with-kerberos' '--with-openssl' '--with-mcrypt' '--with-mhash' '--with-mysql=/usr' '--with-mysqli=/usr/bin/mysql_config' '--with-pcre-regex=/usr/local' '--with-pdo-mysql=/usr' '--with-pear' '--with-png-dir=/usr/local/lib' '--with-zlib' '--with-zlib-dir=/usr/local/lib' '--enable-zip' '--enable-gd-native-ttf' '--with-iconv=/usr/local' '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-mbstring--enable-soap'
 
You screwed up...you need to re-edit the configure php file and change:

"--enable-mbstring"\
"--enable-soap"

So there is a space after " before the \

then rebuild php
 
Back
Top