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.