Only compile PHP with the --with-mssql, not the sybase one.

On Thu, 2004-03-25 at 11:25, Abraham, Suraj wrote:
> Sorry if this question has been asked already, did not find anything on the
> archives with same error messages. 
> 
> I've got apache 2.0.49 with php 4.3.4 and freetds 0.62.1 compiled for
> solaris 8 (sparc). Option used during install  in the order as below were
> 
> apache 
> ./configure --prefix=/opt/apache --libexecdir=/opt/apache/libexec \
> --disable-autoindex --enable-suexec --enable-dir \
> --disable-env --disable-imap  --with-module=mappers:security \
> --enable-ssl --enable-so --with-port=80 --with-ssl=/usr/local/ssl
> --with-mpm=worker
> 
> freetds
> ./configure --prefix=/opt/local/ftds --enable-msdblib (required is you are
> going to connect to MS SQL) 
> 
> php 
> ./configure --prefix=/opt/local/php --with-mssql=/opt/local/ftds
> --with-sybase=/opt/local/ftds \
> --with-apxs2=/opt/apache/bin/apxs
> 
> Now after I compile php with freetds, I see same WARNINGS when I start
> apache. I'd like to know if anyone has had this problem before, is there a
> way to fix this.  
> 
> PHP Warning:  Function registration failed - duplicate name - mssql_connect
> in Unknown on line 0
> PHP Warning:  Function registration failed - duplicate name - mssql_pconnect
> in Unknown on line 0
> PHP Warning:  Function registration failed - duplicate name - mssql_close in
> Unknown on line 0
> PHP Warning:  Function registration failed - duplicate name -
> mssql_select_db in Unknown on line 0
> PHP Warning:  Function registration failed - duplicate name - mssql_query in
> Unknown on line 0
> PHP Warning:  Function registration failed - duplicate name -
> mssql_free_result in Unknown on line 0
> PHP Warning:  Function registration failed - duplicate name -
> mssql_get_last_message in Unknown on line 0
> PHP Warning:  Function registration failed - duplicate name - mssql_num_rows
> in Unknown on line 0
> PHP Warning:  Function registration failed - duplicate name -
> mssql_num_fields in Unknown on line 0
> PHP Warning:  Function registration failed - duplicate name -
> mssql_fetch_field in Unknown on line 0
> PHP Warning:  Function registration failed - duplicate name -
> mssql_fetch_row in Unknown on line 0
> PHP Warning:  Function registration failed - duplicate name -
> mssql_fetch_array in Unknown on line 0
> PHP Warning:  Function registration failed - duplicate name -
> mssql_fetch_object in Unknown on line 0
> PHP Warning:  Function registration failed - duplicate name -
> mssql_data_seek in Unknown on line 0
> PHP Warning:  Function registration failed - duplicate name -
> mssql_field_seek in Unknown on line 0
> PHP Warning:  Function registration failed - duplicate name - mssql_result
> in Unknown on line 0
> PHP Warning:  Function registration failed - duplicate name -
> mssql_min_error_severity in Unknown on line 0
> PHP Warning:  Function registration failed - duplicate name -
> mssql_min_message_severity in Unknown on line 0
> PHP Warning:  mssql:  Unable to register functions, unable to load in
> Unknown on line 0
> [Wed Mar 24 14:51:46 2004] [notice] Apache/2.0.49 (Unix) mod_ssl/2.0.49
> OpenSSL/0.9.6m PHP/4.3.4 configured
> 
> Thanks in advance 
> 
> > Suraj Abraham
> > 
> > 
-- 

Adam Voigt
[EMAIL PROTECTED]

Reply via email to