[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Installing PHP 4.0.6 with MSSQL support on a RaQ3



Hello,

I want to use PHP scripts to connect to a MSSQL database from our RaQ3. I
successfully configured PHP version 4.0.6 from the source code...

./configure
    --with-apxs
    --with-mysql
    --with-mssql=/usr/local/freetds
    --with-sybase=/usr/local/freetds
    --enable-track-vars

And then did...

make
make install

But make install fails! It fails when it tries to change the APXS
configuration. APXS complains it doesn't understand the -S option (it also
incorrectly reports /usr/bin/httpd as the Apache binary location).

make[1]: Entering directory `/usr/local/php/php-4.0.6'
/usr/local/php/php-4.0.6/build/shtool mkdir -p "/usr/lib/apache" &&
/usr/sbin/ap
xs -S LIBEXECDIR="/usr/lib/apache" -i -a -n php4 libs/libphp4.so
apxs:Warning: /usr/bin/httpd not found or not executable
apxs:Warning: Continuing anyway...
apxs:Warning: No shared object support for Apache
apxs:Warning: available under your platform. Make sure
apxs:Warning: the Apache module mod_so is compiled into
apxs:Warning: your server binary `/usr/bin/httpd'.
apsx:Warning: Continuing anyway...
apxs:Error: Unknown option: S

This is the standard Cobalt supplied and configured Apache 1.3.6, with APXS
sitting in /usr/sbin/apxs.

Any ideas? Can I change the script so that it doesn't try to -S on apxs? Can
I tell apxs to get over it? By the way, PHP 4.0.5 successfully configured
and installed on this RaQ just a few weeks ago, but I couldn't get 4.0.5 to
compile with MSSQL support. Thanks in advance for any and all help.

David.

-- 
David Buxton - planetrapido.com

Email   david.buxton@xxxxxxxxxxxx      14 - 16 Great Pulteney St.
Tel     020-7440-5760                  London, W1F 9ND
Mobile  07967-484643                   United Kingdom