[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



Hi David,

Feels good to hear that I'm not the only one who didn't manage to install
the latest version of php. I get exactly the same error. Saw you also
corrected the path inside the apxs file.

Guess it's an error with the php installer.
If anyone has a work around, I would also like to hear it. up till then I'll
keep on running the proven 4.0.0pl1.


le 26.6.2001 15:05, David Buxton à david.buxton@xxxxxxxxxxxx a écrit :

> 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.

=======================================================================

Marco Baurdoux
Unix Administrator
Infomaniak Network SA
Avenue de la Praille 26
1227 Carouge
Switzerland
Tel: +41 (0)22 820 35 41
Fax: +41 (0)22 820 35 46
http://web.infomaniak.ch

=======================================================================