[PHP-DEV] RE: Bug #853 Updated: doesn't work with apache 1.3.3 From: CM (cm <email protected>)
Date: 10/21/98

next errors
 

----------
From: Bug Database
Sent: Tuesday, October 20, 1998 3:31 PM
To: cm <email protected>
Subject: [PHP-DEV] Bug #853 Updated: doesn't work with apache 1.3.3

ID: 853
Updated by: jimjag
Reported By: cm <email protected>
Status: Analyzed
Bug Type: Compile Failure
Assigned To: jimjag
Comments:

Yep. Apache does not use AIX's DSO, but PHP doesn't know
that, so it trys to include /usr/include/dlfcn.h which
conflicts with Apache.

Try this patch for php.h

  #if HAVE_LIBDL
  # if MSVC5
  # include <windows.h>
  # define dlclose FreeLibrary
  # define dlopen(a,b) LoadLibrary(a)
  # define dlsym GetProcAddress
  # else
! #if HAVE_DLFCN_H && !(defined(_AIX)) && APACHE
  # include <dlfcn.h>
  #endif
  # endif
  #endif

and let me know.

Full Bug description available at: http://ca.php.net/bugs.php3?id=853

--
PHP Development Mailing List   http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
For help: php-dev-help <email protected>