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

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



I've gotten little further than you have on  my RaQ3, but I am having the
same problem with the S switch in apxs. Hopefully someone has the answer to
that, but one thing you need to do is symlink httpd into your /usr/bin :

# cd /usr/bin
# ln -s /usr/sbin/httpd httpd

Anyone got a workaround for apxs?

Thanks,
Patrick

> -----Original Message-----
> From: cobalt-users-admin@xxxxxxxxxxxxxxx
> [mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of David Buxton
> Sent: Tuesday, June 26, 2001 8:06 AM
> To: cobalt-users@xxxxxxxxxxxxxxx
> Subject: [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
>
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users