php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15304 if imap and sybase are compiled in mssql_connect does not find host
Submitted: 2002-01-30 16:46 UTC Modified: 2002-04-13 00:00 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: wolfram dot schmidt at e-pro dot de Assigned:
Status: No Feedback Package: IMAP related
PHP Version: 4.1.1 OS: Debian Linux 2.2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: wolfram dot schmidt at e-pro dot de
New email:
PHP Version: OS:

 

 [2002-01-30 16:46 UTC] wolfram dot schmidt at e-pro dot de
When compiled with --with-sybase=/opt/sybase-11.9.2 and --with-imap=/opt/local
where imap version is 2001a (or older) mssql_connect acts strangely:

- it claims it cannot find the specified entry in the interfaces file
- it does an /etc/hosts / DNS-Lookup $host  where $host is the
   name of the entry in the interfaces file. It does not help to
   rename the entry to the hostname of tzhe database server.

if --with-imap is removed everything works.

This must be a naming conflict of some functions, I guess.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-31 06:37 UTC] wolfram dot schmidt at e-pro dot de
I'm changing this to IMAP-related.
Reason:
when compiling with recode and imap apache
crashes at startup removing either one
cures the problem.
I like to blame imap for both problems.

 [2002-01-31 06:48 UTC] wolfram dot schmidt at e-pro dot de
Just in case: phptest() claims my configure script looks like this:

./configure --with-apxs --with-pear --with-exec-dir \
  --with-openssl=/opt/local --with-zlib-dir --with-zlib \
  --enable-bcmath --with-bz2=/opt/local \
  --enable-calendar --with-jpeg-dir --with-tiff-dir \
  --enable-ctype --with-curl=/opt/local \
  --enable-dba=shared --with-gdbm --with-ndbm \
  --with-db3=/opt/local --with-dbm --enable-dbase \
  --enable-dbx --with-dom=/opt/local --enable-exif \
  --enable-filepro --enable-ftp --with-gd=/opt/local \
  --enable-gd-native-ttf --with-png-dir=/opt/local \
  --with-xpm-dir=/usr/X11R6 \
  --with-freetype-dir=/opt/local --with-gettext
  --with-gmp=/opt/local --with-iconv \
  --with-imap-ssl=/opt/local \
  --with-java=/opt/jdk1.3.1_01 --with-ldap=/opt/local \
  --enable-mailparse --enable-mbstring \
  --with-mcal=/opt/local --with-mhash=/opt/local
  --with-mnogosearch=/opt/local/mnogosearch \
  --with-mysql=/usr --with-pcre-regex=/opt/local \
  --enable-trans-sid --with-snmp=/opt/local \
  --enable-ucd-snmp-hack --enable-sockets \
  --with-regex=system --with-regex=apache \
  --with-regex=php --with-sybase=/opt/sybase-11.9.2 \
  --enable-sysvsem --enable-sysvshm \
  --with-expat-dir=/opt/local --with-xmlrpc=/opt/local \
  --enable-xslt --with-xslt-sablot=/opt/local \
  --with-yaz=/opt/local --with-zip=/opt/local \
  --enable-versioning --disable-debug --enable-bc \
  --enable-sablot-errors-descriptive --enable-shmop \
  --with-pspell=/opt/local --with-mcrypt=/opt/local \
  --with-recode=/opt/local

 [2002-01-31 17:48 UTC] edink@php.net
I belive this to be a recode problem. It happens to me if I compile recode and mysql as shared extensions and then list recode after mysql.

Do you compile recode and imap as shared modules? If so try putting recode before imap in php.ini and see what happens.
 [2002-04-13 00:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Aug 10 18:01:25 2020 UTC