Dashboard > PHP Community > ... > SCA with PHP > SCA FAQ
Log In   View a printable version of the current page.
SCA FAQ
Added by Simon Laws, last edited by Simon Laws on May 11, 2007  (view change)
Labels: 
(None)


SAC

1 SCA Core

1.1 How do I get more logging?

If you look near the top (approx line 127) of the SCA.php script there is a commented out line:

// self::$logger->startLog();

If you uncomment this then a trace log will be produced telling you what the SCA runtime is doing. For me on Windows XP the log file can be found at:

C:\Documents and Settings\simon\Local Settings\Temp\log\sca.log

1.2 How do I configure PHP to get this package to work?

On Linux try:

./confgure  --enable-sdo=shared \
            --enable-soap \
            --enable-json \
            --with-xmlrpc

If you need to build on windows and are no using the precompiled binaries try

cscript configure.js --with-extra-includes=c:\php\win32build\include;
                                           c:\libxml2-2.6.26.threads\include;
                                           c:\iconv-1.9.1.win32\include;
                                           c:\libcurl-7.15.4-nossl\include                 
                     --with-extra-libs=c:\php\win32build\lib;
                                       c:\libxml2-2.6.26.threads\lib;
                                       c:\iconv-1.9.1.win32\lib;
                                       c:\libcurl-7.15.4-nossl\lib 
                     --enable-sdo=shared 
                     --enable-soap  
                     --enable-json 
                     --with-curl=c:\libcurl-7.15.4-nossl 
                     --with-xmlrpc

I've added new lines here for readability but you need to take these out for this to work.

2 Local Binding

3 Soap Binding

4 JsonRpc Binding

5 RestRpc Binding

6 XmlRpc binding

Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.4.5 Build:#708 Apr 12, 2007) - Bug/feature request - Contact Administrators